Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Following the documentation and taking inspiration from how it's done in the Material for MkDocs own documentation, I am trying to set up a Usage section which should point to its own index.md and have more pages below as subsections.

Here is the excerpt of my navigation settings:

nav:
  - index.md
  - Usage:
      - usage/index.md
      - usage/base64.md
  - javadoc.md
  - release-notes.md

However, the navigation is rendered as:

image

where the bold Usage entry isn't clickable, and there is one more redundant but clickable Usage entry.

What am I doing wrong?

Reference:

You must be logged in to vote

Hi @scordio,
to not create an additional entry for the index.md file and merge it with the section you'd use another feature flag navigation.indexes
https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#section-index-pages

Replies: 1 comment · 1 reply

Comment options

Hi @scordio,
to not create an additional entry for the index.md file and merge it with the section you'd use another feature flag navigation.indexes
https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#section-index-pages

You must be logged in to vote
1 reply
@scordio
Comment options

Oh, many thanks! I swear I was reading it 🤦

Answer selected by scordio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.