bashtage / sphinx-material

A material-based, responsive theme inspired by mkdocs-material
Other
312 stars 91 forks source link

Missing space between sections #105

Closed c-x closed 3 years ago

c-x commented 3 years ago

I am using this wonderful theme with Sphinx 4.0.2 but I have difficulties to reproduce the menu as showcased on https://bashtage.github.io/sphinx-material/index.html

I don't have any space between sections, which makes the menu hardly readable.

Expected results: Expected Results

Actual restults: No space sections

So, what's the right toctree: to produce this menu ? Or is this a bug ?

Thanks!

bashtage commented 3 years ago

The docs here are produced from the toctrees here

https://github.com/bashtage/sphinx-material/blame/master/docs/index.rst#L84

To get breaks, use multiple toc trees.

c-x commented 3 years ago

Unfortunately this is what I did, and it doesn't work :)

bashtage commented 3 years ago

Build the docs that come with the project -- you should get exactly what is on the docs site. Where is your code?