-
Notifications
You must be signed in to change notification settings - Fork 5
33 lines (27 loc) · 771 Bytes
/
Copy pathdocs.yml
File metadata and controls
33 lines (27 loc) · 771 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
name: Documentation
on:
push:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Acquire sources
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
architecture: x64
- name: Apply caching of dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('**/requirements-*.txt') }}
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: doc8 style checks
run: doc8 docs/source/ --config web/pyproject.toml
- name: Generate documentation
run: make -C docs html
- name: Spelling
run: make -C docs spelling