Skip to content

Merge pull request #139 from lsst/dependabot/github_actions/actions/c… #320

Merge pull request #139 from lsst/dependabot/github_actions/actions/c…

Merge pull request #139 from lsst/dependabot/github_actions/actions/c… #320

Workflow file for this run

name: docs
on:
push:
branches:
- main
pull_request:
jobs:
build_sphinx_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
# Need to clone everything to determine version from git.
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install graphviz
run: sudo apt-get install graphviz
- name: Update pip/wheel infrastructure
run: |
python -m pip install --upgrade pip
python -m pip install uv
uv pip install --system wheel
- name: Install documenteer
run: uv pip install --system -r doc/requirements.txt
- name: Install dependencies
run: |
uv pip install --system -r requirements.txt
- name: Build and install
run: uv pip install --system -v --no-deps .
- name: Build documentation
working-directory: ./doc
run: package-docs build -n -W