VABS documentation
This project uses uv for dependency management.
-
Install uv:
# On macOS and Linux curl -LsSf https://astral.sh/uv/install.sh | sh # On Windows powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # Or with pip pip install uv
-
Install project dependencies:
uv sync
-
Activate the virtual environment:
# On Unix/Linux/macOS source .venv/bin/activate # On Windows .venv/Scripts/activate.ps1
Build the documentation using the provided scripts or direct uv commands:
# Using the build script (recommended)
scripts/build.bat # On Windows
scripts/build.sh # On Unix/Linux/macOS
# Or using direct uv commands
uv run sphinx-build -M html source build # Build HTML documentation
uv run sphinx-build -M clean source build # Clean build directory
# Serve docs locally on http://localhost:8000
uv run python -m http.server 8000 --directory build/html
# Or using traditional make commands (if make is available)
make html
make cleanInstall development dependencies:
uv sync --extra devRun development tools:
# Format code
uv run black .
# Sort imports
uv run isort .
# Lint code
uv run flake8 .