diff --git a/doc/_templates/navigation.html b/doc/_templates/navigation.html new file mode 100644 index 0000000000..3e8fe78d56 --- /dev/null +++ b/doc/_templates/navigation.html @@ -0,0 +1,11 @@ +

{{ _('Table Of Contents') }}

+{{ toctree(maxdepth=3, collapse=False) }} + +{% if theme_extra_nav_links %} +
+ +{% endif %} diff --git a/doc/conf.py b/doc/conf.py index 1b04a515c1..23ca0f4780 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -160,7 +160,8 @@ #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_sidebars = {'*': ['navigation.html', 'relations.html', + 'sourcelink.html', 'searchbox.html']} # Additional templates that should be rendered to pages, maps page names to # template names. diff --git a/doc/index.rst b/doc/index.rst index 4d6407577f..1596efcb87 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -70,4 +70,3 @@ Indices and tables * :ref:`genindex` * :ref:`modindex` * :ref:`search` -