Description
Hi,
I want to use this extension in one of my documentation projects, however I came across some issues.
One of them is the usage of a toctree on the generated index pages.
All documents are included in some toctree in the project.
Including them a second time inside the index page, breaks some things.
I noticed this issue together with the sphinx-rtd-theme, because navigating from the index page to the page where the tag is being used expands the sidebar in the (imo) wrong location. The sidebar expands under the index chapter and not under the chapter the target document is included in.
I would assume, that there are more issues that come with including the same document twice in the same project.
This comment from a Sphinx maintainer also emphasizes the issue: sphinx-doc/sphinx#5145 (comment)
I think it could be an improvement to exchange the toctree for a list of references, but maybe I am missing some feature of the toctree here.
Edit: With "index page" I am referencing to the autogenerated index page, showing all occurrences of one tag across the project, and not the root_doc "index.rst" page.