MkDocs โ Run and Build
Requirements:
- Python 3.8+
Install MkDocs (and Material theme):
pip install mkdocs mkdocs-material
Create a new site:
mkdocs new my-mkdocs-sitecd my-mkdocs-site
Run locally:
mkdocs serve
Visit http://127.0.0.1:8000
Build for production (output to site/
):
mkdocs build
Deploy the site/
directory to your static host.