Skip to content

Bump types-requests from 2.33.0.20260712 to 2.33.0.20260906 #91

Bump types-requests from 2.33.0.20260712 to 2.33.0.20260906

Bump types-requests from 2.33.0.20260712 to 2.33.0.20260906 #91

Workflow file for this run

name: Documentation
on:
push:
branches: [ "master", "main" ]
pull_request:
branches: [ "master", "main" ]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v10.0.1
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python 3.11
run: uv python install 3.11
# Installed from the lock, like every job in ci.yml. Resolving fresh here is
# what broke this workflow: markdown-it-py released a version without
# make_fence_rule, myst-parser could not import it, and sphinx died. The lock
# pins the pair that works (markdown-it-py 3.0.0, myst-parser 4.0.1).
- name: Install dependencies
run: uv sync --locked --extra docs
- name: Generate installation docs from pyproject.toml
run: |
uv run python scripts/generate_installation_docs.py
- name: Build documentation
run: |
cd docs
uv run make html
# Copy .nojekyll to build output for GitHub Pages
touch build/html/.nojekyll
- name: Setup Pages
uses: actions/configure-pages@v6
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: 'docs/build/html'
# v4 started excluding dotfiles from the artifact. The build step writes
# .nojekyll, and Sphinx output is full of _static and _sources, so losing
# it is the kind of change that shows up as a broken site rather than a
# failed job.
include-hidden-files: true
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5