oprypin / mkdocs-section-index

MkDocs plugin to allow clickable sections that lead to an index page
https://oprypin.github.io/mkdocs-section-index
MIT License
74 stars 7 forks source link

Conflicting navigation for sub-subfolders #8

Closed darkdragon-001 closed 2 years ago

darkdragon-001 commented 2 years ago

Consider the following hierarchy

a
  b
    index.md
    c.md

When then clicking on b which is resolved to index.md in this case, navigation displays the headlines of index.md and the other files like c.md are not displayed when using readthedocs theme...

oprypin commented 2 years ago

Readthedocs theme does not support deeply nested navigation in the first place.

OK:

Not supported:

oprypin commented 2 years ago

Consider mkdocs-material theme.

darkdragon-001 commented 2 years ago

Readthedocs theme does not support deeply nested navigation in the first place.

Why do you set navigation_depth: 4 then?

Consider mkdocs-material theme.

This is not what I want. I want a single menu with folders, files and headlines like read the docs.