22 lines
503 B
Plaintext
22 lines
503 B
Plaintext
# Documentation commands
|
|
# Usage: just docs::build, just docs::serve, etc.
|
|
|
|
# Build documentation
|
|
build:
|
|
uv run mkdocs build
|
|
|
|
# Serve documentation locally
|
|
serve:
|
|
uv run mkdocs serve
|
|
|
|
# Build and open documentation in browser
|
|
open:
|
|
uv run mkdocs build
|
|
@if [[ "$OSTYPE" == "darwin"* ]]; then \
|
|
open site/index.html; \
|
|
elif command -v xdg-open &> /dev/null; then \
|
|
xdg-open site/index.html; \
|
|
else \
|
|
echo "Documentation built at: site/index.html"; \
|
|
fi
|