Projet

Général

Profil

Evolution #1303 » 0002-Add-global-TOC-in-the-sidebar-and-customize-local-TO.patch

Guillaume AGNIERAY, 26/09/2019 18:01

Voir les différences:

source/_styles/templates/galette/globaltoc.html
{#
basic/globaltoc.html
~~~~~~~~~~~~~~~~~~~~
Sphinx sidebar template: global table of contents.
:copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
<h3><a href="{{ pathto(master_doc) }}">Table des Matières</a></h3>
{{ toctree() }}
source/_styles/templates/galette/localtoc.html
{#
basic/localtoc.html
~~~~~~~~~~~~~~~~~~~
Sphinx sidebar template: local table of contents.
:copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
{%- if display_toc %}
<h3>Navigation</h3>
{{ toc }}
{%- endif %}
source/_styles/templates/galette/theme.conf
inherit = basic
stylesheet = galette.css
pygments_style = friendly
sidebars = localtoc.html, relations.html, globaltoc.html, sourcelink.html, searchbox.html
(1-1/5)