Run cog with --extra test

Previously it kept on adding stuff to cli-reference.rst
that came from other plugins installed for my global environment
This commit is contained in:
Simon Willison 2025-11-04 18:11:20 -08:00
commit 9f74dc22a8
2 changed files with 26 additions and 6 deletions

View file

@ -21,11 +21,11 @@ export DATASETTE_SECRET := "not_a_secret"
@lint: codespell
uv run black . --check
uv run flake8
uv run cog --check README.md docs/*.rst
uv run --extra test cog --check README.md docs/*.rst
# Rebuild docs with cog
@cog:
uv run cog -r README.md docs/*.rst
uv run --extra test cog -r README.md docs/*.rst
# Serve live docs on localhost:8000
@docs: cog blacken-docs