diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2017-12-06 04:21:29 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2017-12-06 04:21:29 -0500 |
| commit | e05abf6e117be08dc33c7664b3d823c08887de1e (patch) | |
| tree | 9b1f85d69450fb3a995883d70c7e8f2c77bda4ea /_templates | |
| parent | f1b953de65ec060af50b35b553ff80e7fd5ceeda (diff) | |
Massively expanded the reference section.
Diffstat (limited to '_templates')
| -rw-r--r-- | _templates/globaltoc.html | 11 | ||||
| -rw-r--r-- | _templates/localtoc.html | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/_templates/globaltoc.html b/_templates/globaltoc.html new file mode 100644 index 0000000..36894a8 --- /dev/null +++ b/_templates/globaltoc.html @@ -0,0 +1,11 @@ +{# + basic/globaltoc.html + ~~~~~~~~~~~~~~~~~~~~ + + Sphinx sidebar template: global table of contents. + + :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +#} +<h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3> +{{ toctree(maxdepth=1) }} diff --git a/_templates/localtoc.html b/_templates/localtoc.html new file mode 100644 index 0000000..bc0b79d --- /dev/null +++ b/_templates/localtoc.html @@ -0,0 +1,13 @@ +{# + basic/localtoc.html + ~~~~~~~~~~~~~~~~~~~ + + Sphinx sidebar template: local table of contents. + + :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +#} +{%- if display_toc %} + <h3><a href="{{ pathto(master_doc) }}">{{ _('This Section') }}</a></h3> + {{ toc }} +{%- endif %} |
