diff --git a/swh/web/ui/templates/api-endpoints.html b/swh/web/ui/templates/api-endpoints.html index c3d7c8195..8db90f86b 100644 --- a/swh/web/ui/templates/api-endpoints.html +++ b/swh/web/ui/templates/api-endpoints.html @@ -1,62 +1,63 @@ {% extends "layout.html" %} {% block title %} Software Heritage API – Endpoints {% endblock %} {% block content %}
Endpoint | Status | Description | {% for route, doc in doc_routes %}|||
---|---|---|---|---|---|
{{ route }} | {{ ', '.join(doc['tags']) }} | {% else %}{{ route }} | available | {% endif %} -{{ doc['docstring'] | safe_docstring_display | safe }} | + {% set doc_intro = doc['docstring'].split('\n\n')[0] %} +{{ doc_intro | safe_docstring_display | safe }} |