Skip to content
A fast, modern Sphinx theme with dark mode, full-text search, and Alpine.js interactivity. Star on GitHub ★

Development Workflow

Set up live-reloading for a fast edit-preview cycle while writing documentation.

Live Reload with sphinx-autobuild

Install sphinx-autobuild and run it to watch your docs/ directory for changes:

uv add sphinx-autobuild --dev
uv run sphinx-autobuild docs docs/_build/html --open-browser
pip install sphinx-autobuild
sphinx-autobuild docs docs/_build/html --open-browser

This watches your docs/ directory and automatically rebuilds when files change. Your browser refreshes automatically.

See also

Pagefind only indexes during full builds, so ⌘K search may not be populated during live preview. See Search for details and fallbacks.

Asset Watcher

If you’re editing Lumina’s own CSS or JavaScript source (not just using the theme), run the asset watcher in a separate terminal:

pnpm run dev

This recompiles the theme’s CSS and JavaScript on every change. You don’t need this if you’re only editing your project’s documentation content.