Mkdocs Material Multiple Devices Setup
Debian
-
Clone your git repo locally
git clone https://github.com/reponameNote: make sure that the.gitignorefile micmics the one in the official repo. To avoid issues just copy the.gitignorefile into the newly cloned repo
-
Create a
python3virtual enviromentpython3 -m venv 'repo-name-folder'- cd into the newly created 'repo-name-folder'
- now, all changes you do to the
mkdocs.ymlwill be tracked - notes addition should always be added into the
docsfolder
-
If you wish to test changes locally, install
mkdocs-material- activate the
python3venv, `source ./bin/activate' - install
mkdocs-materialby running in a already activated enviroment `pip install mkdocs-material'
- activate the
-
Lastly, just run,
mkdocs serve -a 0.0.0.0:8000 --liverealod