Skip to content

Allow intermediate index.html pages for categories and create automatic index pages when not provided generation #73

Closed
@SvenDowideit

Description

@SvenDowideit

Given a mkdocs.yaml like

pages:
- ['index.md', 'Home']
- ['user-guide/writing-your-docs.md', 'User Guide', 'Writing your docs']
- ['user-guide/styling-your-docs.md', 'User Guide', 'Styling your docs']
- ['user-guide/configuration.md', 'User Guide', 'Configuration']
- ['about/license.md', 'About', 'License']

I would like mkdocs to generate the non-menu-listed index.html files:

user-guide/index.html
about/index.html

without adding those pages to the previous next navigation. Interestingly, If you add - ['user-guide/index.md'] to the pages above, that new page is not added to a menu, but it is added to the nav :(.

I'm happy to add them to a cfg list and mark them as non-nav, or autogenerated (though automagical would be best). Ideally, these pages should list all the sub-pages.

(yes, I need to solve this, its not a 'would be nice')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions