Skip to content

Format symmetric list concatenations in preview #821

Format symmetric list concatenations in preview

Format symmetric list concatenations in preview #821

Workflow file for this run

name: docs
on:
push:
paths: ["docs/**", "src/**", "pyproject.toml", ".github/workflows/docs.yml"]
pull_request:
paths: ["docs/**", "src/**", "pyproject.toml", ".github/workflows/docs.yml"]
permissions:
contents: read
env:
PIP_UPLOADED_PRIOR_TO: P2D
jobs:
docs:
# We want to run on external PRs, but not on our own internal PRs as they'll be run
# by the push to the branch. Without this if check, checks are duplicated since
# internal PRs match both the push and pull_request events.
if:
github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
github.repository
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.15"
allow-prereleases: true
- name: Install dependencies
run: python -m pip install -e ".[d]" --group docs
- name: Build documentation
run: sphinx-build -a -b html -W --keep-going docs/ docs/_build