How to use Material for MkDocs¶
Installation¶
Install Material for MkDocs with the following commands.
In a terminal, execute the following command(s). | |
---|---|
In a terminal, execute the following command(s). | |
---|---|
In a terminal, execute the following command(s). | |
---|---|
Configuration¶
The configuration for Material for MkDocs is located in the mkdocs.yml
configuration file.
Common tasks¶
Start the website for development¶
In a terminal, execute the following command(s). | |
---|---|
Build the website for production¶
In a terminal, execute the following command(s). | |
---|---|
Add a new page¶
Add a new page by creating a new file/directory in the docs
directory. All pages must have a .md
file extension.
Add a new navigation entry¶
Add a new entry to the navigation in the mkdocs.yml
file under the nav
property.
Add a new glossary entry¶
Add a new entry to the glossary in the docs/glossary.md
file.
The format must be as follow.
Each word that Material for MkDocs will find in the documentation will have a tooltip with the definition for the word.
Related explanations¶
These explanations are related to the current item (in alphabetical order).
Resources and alternatives¶
These resources and alternatives are related to the current item (in alphabetical order).