4

Does anybody know how to change the menu-order when using .md? I can't find it. I know it's possible with other types like .rst, but I use .md

Thank you!

Bob
  • 873
  • 1
  • 8
  • 21

2 Answers2

1

Include a mkdocs.yml file in your root directory that contains:

pages: - [intro.md] - [first_part.md] - [second_part.md]

see also http://www.mkdocs.org/user-guide/configuration/#pages

user73898
  • 143
  • 5
0

As per the latest documentation, to change the menu-order, include the following in the mkdocs.yml file:

nav:
   - 'intro.md'
   - 'page1.md'
   - 'so_on.md'
Arnav
  • 163
  • 1
  • 8