1 2 3 4 5 6 7 8 9 10 11 12
#!/usr/bin/env bash ( cd "$(dirname "$0")" if ! [[ -d venv ]]; then python3 -m venv venv fi source venv/bin/activate pip install -r requirements.txt mkdocs serve )