- Serve
mkdocs serve
- Build
mkdocs build
Create a virtual environment
python -m venv .venv
source .venv/bin/activate
pip-sync
Install required Python packages
python -m pip install pip-tools
pip-sync
Update requirements.txt
# python -m pip install pip-tools
pip-compile --resolver=backtracking
Install CairoSVG requirements
sudo apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev