homelab/serve-docs.sh
2022-05-19 01:35:27 -04:00

7 lines
158 B
Bash
Executable File

#!/bin/bash
[ ! -d "./docs/python" ] && python3 -m venv ./docs/python
. ./docs/python/bin/activate
pip install mkdocs-material==7.3.3
mkdocs serve
deactivate