When doing some testing this sphinx theme, I've noticed that parent_toc(current_page_name, outermost_link_item) }} is duplicating the TOC tree.
.
When you use the built in toctree(collapse=True, maxdepth=-1) it gives the correct TOC tree without the duplication issue.

When doing some testing this sphinx theme, I've noticed that
parent_toc(current_page_name, outermost_link_item) }}is duplicating the TOC tree.When you use the built in
toctree(collapse=True, maxdepth=-1)it gives the correct TOC tree without the duplication issue.