# mkdocs ## Getting started ```bash python3 -m venv venv source venv/bin/activate pip3 install --no-cache-dir mkdocs mkdocs-material pymdown-extensions mike mkdocs serve ``` Run these commands from `mkdocs/`. `mkdocs serve` previews your working tree and reloads when you edit a page. `mike serve` instead serves the versions already built on the local `gh-pages` branch. To preview your changes there, run `mike deploy latest master` (without `--push`), then open `/latest/` on the `mike serve` site. ## Deploy ```bash mike deploy --push --allow-empty ``` ## References * https://www.mkdocs.org/ * https://squidfunk.github.io/mkdocs-material/