-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (37 loc) · 965 Bytes
/
docs.yml
File metadata and controls
42 lines (37 loc) · 965 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
35
36
37
38
39
40
41
42
# Verify Sphinx docs build (same stack as Read the Docs).
name: Documentation
on:
push:
branches: [main, master]
paths:
- ".github/workflows/docs.yml"
- ".readthedocs.yaml"
- "doc/**"
- "usage.md"
- "usage-*.md"
- "scripting.md"
- "res/icons/**"
- "doc/gen/**"
pull_request:
branches: [main, master]
paths:
- ".github/workflows/docs.yml"
- ".readthedocs.yaml"
- "doc/**"
- "usage.md"
- "usage-*.md"
- "scripting.md"
- "res/icons/**"
- "doc/gen/**"
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 doc/requirements.txt
- name: Build HTML (warnings are errors; matches Read the Docs)
run: sphinx-build -b html -W --keep-going doc doc/_build