-
Notifications
You must be signed in to change notification settings - Fork 5
34 lines (29 loc) · 802 Bytes
/
Copy pathdocs.yml
File metadata and controls
34 lines (29 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Verify Sphinx docs build (same stack as Read the Docs).
name: Documentation
on:
push:
branches: [main, master]
paths:
- ".github/workflows/docs.yml"
- ".readthedocs.yaml"
- "docs/**"
- "res/icons/**"
pull_request:
branches: [main, master]
paths:
- ".github/workflows/docs.yml"
- ".readthedocs.yaml"
- "docs/**"
- "res/icons/**"
jobs:
sphinx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install doc dependencies
run: pip install -r docs/requirements.txt
- name: Build HTML (warnings are errors; matches Read the Docs)
run: sphinx-build -b html -W --keep-going docs docs/_build