Skip to content

Austemp

Austemp #83

Workflow file for this run

name: Build documentation
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f pyproject.toml ]; then
pip install ".[docs]" || pip install sphinx
fi
pip install -r docs/requirements.txt || true
- name: Build documentation
run: |
sphinx-build -b html docs/ build/html --keep-going