mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
a840299065
commit
f3ae326e1a
@ -262,16 +262,19 @@ navigation section:
|
|||||||
``` yaml
|
``` yaml
|
||||||
nav:
|
nav:
|
||||||
- Section:
|
- Section:
|
||||||
- section/index.md
|
- section/index.md # (1)!
|
||||||
- Page 1: section/page-1.md
|
- Page 1: section/page-1.md
|
||||||
...
|
...
|
||||||
- Page n: section/page-n.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 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 enabled]: ../assets/screenshots/navigation-index-on.png
|
||||||
[Section index pages disabled]: ../assets/screenshots/navigation-index-off.png
|
[Section index pages disabled]: ../assets/screenshots/navigation-index-off.png
|
||||||
[toc.integrate]: #navigation-integration
|
[toc.integrate]: #navigation-integration
|
||||||
|
[index pages]: https://www.mkdocs.org/user-guide/writing-your-docs/#index-pages
|
||||||
|
|
||||||
### Table of contents
|
### Table of contents
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user