-
-
Notifications
You must be signed in to change notification settings - Fork 997
41 lines (32 loc) · 976 Bytes
/
docs.yml
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
name: Documentation
on:
push:
branches: [ RC_1_2 RC_2_0 master ]
pull_request:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
docs:
name: Docs
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v3
- name: update package lists
continue-on-error: true
run: |
sudo apt update
- name: install dependencies
run: |
sudo apt install python-docutils python-pygments python-pil gsfonts inkscape icoutils graphviz hunspell imagemagick
python -m pip install aafigure
~/.local/bin/aafigure --version
- name: spell-check
run: |
cd docs
make AAFIGURE=~/.local/bin/aafigure RST2HTML=rst2html spell-check html
- name: build docs
run: |
cd docs
make AAFIGURE=~/.local/bin/aafigure RST2HTML=rst2html