Chilipp / sphinx-nbexamples

⛔️ Deprecated: Create an examples gallery with sphinx from Jupyter Notebooks
MIT License
15 stars 11 forks source link

ENH: Allow disabling, modifying depth of toctree #7

Closed effigies closed 5 years ago

effigies commented 5 years ago

I use Markdown in my notebooks to create headers, which makes the current toctree approach index sections of my notebooks, which doesn't look very good. This parameter adds the ability to set a specific depth, including 0 to disable the toctree. If disabled, toctrees can still be written manually into README.rst.

Chilipp commented 5 years ago

Again, awesome, thanks a lot 👍 I added some tests for it in https://github.com/Chilipp/sphinx-nbexamples/pull/7/commits/d9638d4869b7784dc612ecec0412b9a263d49ec9. If they pass, I will merge this PR