Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/api/swagger-ui.html
- This file was added.
{% extends "layout.html" %} | |||||
{% load render_bundle from webpack_loader %} | |||||
{% comment %} | |||||
Copyright (C) 2020 The Software Heritage developers | |||||
See the AUTHORS file at the top-level directory of this distribution | |||||
License: GNU Affero General Public License version 3, or any later version | |||||
See top-level LICENSE file for more information | |||||
{% endcomment %} | |||||
{% block title %}Documentation – Software Heritage API v2{% endblock %} | |||||
{% block header %} | |||||
{% render_bundle 'api' %} | |||||
{% endblock %} | |||||
{% block navbar-content %} <h4>Web API v2</h4> {% endblock %} | |||||
{% block content %} | |||||
<div id="swh-api-v2-doc"></div> | |||||
<script> | |||||
swh.api.initSwaggerUI(); | |||||
</script> | |||||
{% endblock %} |