Document Config Tips¶
Tip
- The configuration of documents is specified in
nav
ofmkdocs.yml
. - When
nav
is set, a list of documents will be displayed on the left side of the screen. - Based on the following
nav
setting, it will be easy to manage the configuration suitable for adding and changing documents.
mkdocs.yaml | |
---|---|
1 2 3 4 5 6 7 8 9 |
|
- Set
index.md
as the link destination when- navigation.indexes
setting is enabled - Initial page
- Initial page in the Programming language section
- Initial page in the Python section
- ・Initial page of Mkdocs tips
・The notationPage1: ja/programming-language/python/mkdocs/index.md
is also possible.
・If not explicitly displayed, the content of the "h1" tag is displayed. - Accessible by setting up a link in a subsection or in `index.md
nav display settings¶
Tip
For configurations with multiple documents, the following settings are sufficient
mkdocs.yaml | |
---|---|
1 2 3 4 5 6 7 8 9 10 |
|