-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 1011 Bytes
/
docs.yml
File metadata and controls
43 lines (39 loc) · 1011 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
43
name: Documentation
on:
push:
pull_request:
env:
UV_PYTHON_PREFERENCE: only-system
UV_NO_SYNC: 1
SWAGGER_UI_RELEASE: "5.30.3"
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Acquire sources
uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5.5.0
with:
python-version: "3.14"
architecture: x64
- name: Install uv
uses: astral-sh/setup-uv@v5.3.1
with:
enable-cache: true
- name: Install dependencies
run: uv sync
- name: doc8 style checks
run: uv run doc8 docs/
# Generate Swagger UI docs
- name: Fetch Swagger UI
run: ./fetch_swagger.sh
- name: Generate schema
run: uv run generate-schema.py
# Finally, generate Sphinx docs
- name: Spelling
run: uv run make -C docs spelling
- name: Generate documentation
run: uv run make -C docs html