Add toc to detail pages

go-templates
Eric Holscher 10 years ago
parent 927179d1af
commit 6a6c77d6ec

@ -1,3 +1,5 @@
{% block title %}
{{ object.short_name }} {{ object.type.title()}}
@ -7,9 +9,10 @@
{% endblock %}
.. contents::
{% block summary %}
{%- if object.summary %}
Summary
-------

@ -7,6 +7,6 @@ Below is a list of all items that are documented here.
.. toctree::
:includehidden:
:glob:
:maxdepth: 3
:maxdepth: 5
*/*
Loading…
Cancel
Save