Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Feb 26, 2023
1 parent a840299 commit f3ae326
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/setup/setting-up-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,19 @@ navigation section:
``` yaml
nav:
- Section:
- section/index.md
- section/index.md # (1)!
- Page 1: section/page-1.md
...
- Page n: section/page-n.md
```

1. MkDocs also considers files called `README.md` as [index pages].

[Section index pages support]: https://github.com/squidfunk/mkdocs-material/releases/tag/7.3.0
[Section index pages enabled]: ../assets/screenshots/navigation-index-on.png
[Section index pages disabled]: ../assets/screenshots/navigation-index-off.png
[toc.integrate]: #navigation-integration
[index pages]: https://www.mkdocs.org/user-guide/writing-your-docs/#index-pages

### Table of contents

Expand Down

0 comments on commit f3ae326

Please sign in to comment.