sphinx-contrib / fulltoc

Extension for Sphinx to make the sidebar show a full table of contents instead of just the local headings
Apache License 2.0
38 stars 19 forks source link

preserve local toc info for template authors #2

Open dhellmann opened 12 years ago

dhellmann commented 12 years ago

We overwrite the "toc" value in the template context without preserving the old values. We should save them as "localtoc" or something similar so template authors can use the information if they want to.

dgarcia360 commented 5 years ago

Hi @dhellmann,

I'd like to work on this issue and submit a PR.