I have some Sphinx based documentation for a library I built and I'd like to display the expanded table of contents for all my pages except for the changelog. I figured out how to do it by moving the changelog to a second :toctree::
, but this has some strange behaviors. Mainly, the changelog shows up on a different bullet list when I visit the page, and when I use the sidebar navigation I can only navigate within each toctree (if I click on changelog, I won't have the other sections displayed on the sidebar). Is there a better way to do this?
Here's what I have right now:
.. toctree::
:maxdepth: 5
getting_started
examples
modules
.. toctree::
:maxdepth: 1
changelog
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`