X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0e87ae0739ed3e72301b7b718098f97a7f06a5d8..3e60c84451a6cf2a4ad803c3e05bd97a233e91ad:/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 %}