sphinx
sphinx copied to clipboard
`toctree` directive leads to multi-selected entries in sidebar-toc
Hi,
I'm using the toctree element in a sidebar to list all available pages and mark the current page as bold. In one of the pages (site_a.txt) I use the .. toctree:: directive to refer and link on a toc of an other site (site_b.txt).
.. toctree::
site_b
So far so good. However, when the current page is site_b it highlights also site_a in the sidebar-toctree because site_a is containing a toctree directive (see listing above).
Is this related to a bug or am I do something wrong here? Thanks.
Do you have an example that you can provide for reproducibility?