Skip to content

0.9.2

0.9.2 #518

Workflow file for this run

name: docs
on:
push:
branches: [main]
jobs:
docs:
runs-on: ubuntu-latest
steps:
# Check out source
- uses: actions/checkout@v2
# Set up Python
- name: "Set up Python 3.12"
uses: actions/setup-python@v4
with:
python-version: "3.12"
# Build documentation
- name: Building documentation
run: |
pip install uv
uv pip install --system -e ".[dev]"
uv pip install --system -r docs/requirements.txt
sphinx-build docs/source docs/build -b dirhtml
# Deploy
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build