Add toc to detail pages

This commit is contained in:
Eric Holscher 2015-04-17 14:16:46 -07:00
parent 927179d1af
commit 6a6c77d6ec
2 changed files with 5 additions and 2 deletions

View File

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

View File

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