Use real API endpoints in documentation

There is no need to make the API endpoints environment-specific. But it
is still useful to know what the endpoint is.

Also fixes a broken link on the integration page.
This commit is contained in:
Chris Hill-Scott
2016-03-21 14:31:01 +00:00
parent 234fe387df
commit a32fd36b1b
3 changed files with 4 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
{% from "components/sms-message.html" import sms_message %}
{% block page_title %}
Developer documentation GOV.UK Notify
API integration GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}
@@ -48,15 +48,14 @@
<div class="highlight" style="background: #f8f8f8">
<pre style="line-height: 125%">
{{- 'POST {}/notifications/{}'.format(
api_host,
{{- 'POST https://api.notifications.service.gov.uk/notifications/{}'.format(
template.template_type
) -}}
</pre>
</div>
<p>
<br />See the <a href="#">developer documentation</a> for full details.
<br />See the <a href="{{ url_for(".documentation") }}">developer documentation</a> for full details.
</p>
{% endblock %}