Skip to content

Example structure #45

Answered by LukeCarrier
CarrieBrown asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @CarrieBrown,

Off the top of my head the titles shown in navigation come from (in descending order of precedence):

  • The title portion of the entry in the nav entry in mkdocs.yml (e.g. - My Title: some/page/index.md).
  • The first level one heading in the referenced document (# My Title).

I don't know if MkDocs looks at the frontmatter for titles by default, but I'm fairly sure it doesn't do this for weighting.

Hope this helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LukeCarrier
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
Converted from issue

This discussion was converted from issue #44 on December 23, 2024 22:39.