Better recipe for 'just docs'

This commit is contained in:
Simon Willison 2025-12-02 19:16:39 -08:00
commit 3eca3ad6d4

View file

@ -29,7 +29,7 @@ export DATASETTE_SECRET := "not_a_secret"
# Serve live docs on localhost:8000 # Serve live docs on localhost:8000
@docs: cog blacken-docs @docs: cog blacken-docs
uv sync --extra docs && cd docs && uv run make livehtml uv run --extra docs make -C docs livehtml
# Build docs as static HTML # Build docs as static HTML
@docs-build: cog blacken-docs @docs-build: cog blacken-docs