Build, test, and serve documentation sites using Zensical or MkDocs. Includes setup commands, build processes, local development servers, and troubleshooting guides.
Build, test, and serve documentation sites using Zensical (recommended) or MkDocs with comprehensive setup and troubleshooting guidance.
```bash
make serve
./doc-cli.sh serve
make build
```
```bash
make mkdocs-serve
make mkdocs-build
```
| System | Build Time | Use Case |
|--------|------------|----------|
| Zensical | ~0.4s | Primary development, production |
| MkDocs | ~8s | Legacy support, versioning with mike |
```bash
make setup
```
This installs:
```bash
make build
make mkdocs-build
```
Output goes to `site/` directory. Build will:
```bash
make serve
make mkdocs-serve
```
Zensical features:
If MkDocs hot reload stops working, use `make serve-clean` for clean restart.
The doc-cli provides an interactive menu:
```bash
./doc-cli.sh
```
Available commands:
```bash
DEV_ADDR=0.0.0.0:8080 make serve
```
Expected for problem sub-pages. These are linked from parent pages, not nav.
```bash
pkill -f zensical
pkill -f mkdocs
make serve
```
```bash
export PYTHONPATH=$PYTHONPATH:$(pwd)
make build
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/build-and-test-documentation-site/raw