- Python3 and pip
-
Download the project to your local device,
git clone git@github.com:hari-robotics/polimi-msc-control-notes.git -
Go to project directory, open a terminal here, type:
pip install -r requirements.txt
-
Create a new markdown file under
docs/folder, subfolder is allowed. -
Add your document path to
mkdocs.yml, it should follow the rules below:
nav:
- 'Title': 'path/to/your/file'Then, you can edit your documents
To preview the documents, type:
mkdocs serve
If it runs successfully, it will show a prompt like below:
INFO - [17:36:46] Serving on http://127.0.0.1:8000/
Go to the link and you can preview the page.
For more information, please go to the mkdocs-material official website and see the user manual.