carlosperate / jekyll-theme-rtd

Port of the Read the Docs theme to Jekyll to use with GitHub Pages.
https://carlosperate.github.io/jekyll-theme-rtd
BSD 2-Clause "Simplified" License
47 stars 74 forks source link

Add navigation_depth config for the left-side navigation TOC #2

Open carlosperate opened 4 years ago

carlosperate commented 4 years ago

To let the user control how many levels to show in the navigation tree on the left.

image

Right now hardcoded to 4.

Should be named navigation_depth to follow the ReadTheDocs config: https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html