Skip to content

MkDocs Material Development Workflow

A quick reference for running the local documentation development server and validating builds with Material for MkDocs.


🚀 Local Development Server

# 1. Activate virtual environment
source venv/bin/activate

# 2. Install dependencies
pip install -r requirements.txt

# 3. Start live-reloading preview server
mkdocs serve

# 4. Strict production build validation (fails on any warning or broken link)
mkdocs build --strict