* FreeCAD addon support for Workbench and Plugins * docs: refactor docs and clean up linters, etc. * Remove mdformat * test: improve test coverage * test:Lots of general fixes * chore: more general fixes
26 lines
636 B
Plaintext
26 lines
636 B
Plaintext
# Documentation commands
|
|
# Usage: just documentation::build, just documentation::serve, etc.
|
|
|
|
# Build documentation
|
|
build:
|
|
uv run mkdocs build
|
|
|
|
# Build documentation with strict mode (fails on warnings, for CI)
|
|
build-strict:
|
|
uv run mkdocs build --strict
|
|
|
|
# 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
|