X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0e87ae0739ed3e72301b7b718098f97a7f06a5d8..cb6cfc1c84798ac22313e3e44cd00ff5da601575:/apps/piston/templates/documentation.html diff --git a/apps/piston/templates/documentation.html b/apps/piston/templates/documentation.html index d7b18300d..8fdfb8f8e 100644 --- a/apps/piston/templates/documentation.html +++ b/apps/piston/templates/documentation.html @@ -16,40 +16,40 @@

API Documentation

- + {% for doc in docs %} - +

{{ doc.name|cut:"Handler" }}:

{{ doc.get_doc|default:""|restructuredtext }}

- +

URL: {{ doc.get_resource_uri_template }}

- +

Accepted methods: {% for meth in doc.allowed_methods %}{{ meth }}{% if not forloop.last %}, {% endif %}{% endfor %}

- +
{% for method in doc.get_all_methods %} - +
method {{ method.name }}({{ method.signature }}){% if method.stale %} - inherited{% else %}:{% endif %} - -
- + + + {% if method.get_doc %}
{{ method.get_doc|default:""|restructuredtext }}
{% endif %} - + {% endfor %}
- + {% endfor %}