Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu for subpages #723

Closed
deatharse opened this issue Sep 8, 2015 · 6 comments
Closed

Menu for subpages #723

deatharse opened this issue Sep 8, 2015 · 6 comments

Comments

@deatharse
Copy link

I know the issue of subpage support has been asked before and it does this is not about that more about the menu. Currently trying out readthedocs and not sure if this is an issue (or misunderstanding on my part) in RTD or mkdocs. I have also read the docs I could find and know I do not need a mkdocs.yml.

I have the following structure

docs/
    index.md
    item1.md
    item2.md
    item2/
        subitem1.md

expected:

HOME [collapsable with internal headings]
item1 [collapsable with internal headings]
item2 [collapsable with internal headings including subitem1 and respective internal headings]

actual:

HOME [collapsable with internal headings]
item1 [collapsable with internal headings]
item2 [collapsable with internal headings]
item2
  subitem1 [collapsable with internal headings]

Is it possible to get my expected without manually specifying every page in a mkdocs.yml? If I am just missing something would suggest an enhancement to the documentation expanding this point.

@d0ugal
Copy link
Member

d0ugal commented Sep 10, 2015

Unfortunately this is a current limitation in MkDocs. The closest you can have is this, but I think it still isn't quite what you want?

index.md
item1.md
item2/
    index.md
    subitem1.md

@d0ugal
Copy link
Member

d0ugal commented Sep 10, 2015

I think what you want is #73 - which is a feature that has been requested for some time but I don't think anyone is working on it.

@deatharse
Copy link
Author

No probs, thanks for the update

@d0ugal
Copy link
Member

d0ugal commented Sep 11, 2015

I think that answers everything for this issue, we can use #73 to track the further feature addition.

@d0ugal d0ugal closed this as completed Sep 11, 2015
@AbhaysinghBhosale
Copy link

anyone can please let me know that this feature is added or not ?

@waylan
Copy link
Member

waylan commented Jun 11, 2019

@AbhaysinghBhosale the current behavior is fully documented here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants