Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .just/documentation.just
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ fmt:

# Build documentation using Sphinx
[no-cd]
build LOCATION="docs/_build/html": cog
build LOCATION="docs/_build/html":
@just cog
uv run --extra docs sphinx-build docs {{ LOCATION }}

# Serve documentation locally
[no-cd]
serve PORT="8000": cog
serve PORT="8000":
#!/usr/bin/env sh
HOST="localhost"
if [ -f "/.dockerenv" ]; then
HOST="0.0.0.0"
fi
just cog
uv run --extra docs sphinx-autobuild docs docs/_build/html --host "$HOST" --port {{ PORT }}