-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (38 loc) · 1006 Bytes
/
sphinx.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
42
43
44
45
46
47
name: Sphinx
on:
push:
jobs:
sphinx-build:
name: Sphinx Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
format:
- html
- latex
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip
cache-dependency-path: |
**/requirements*.txt
- name: Install fonts
run: |
sudo apt-get update --fix-missing
sudo apt-get install ghostscript fonts-freefont-otf
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Install ImageMagick
run: |
sudo apt install imagemagick
- name: Run Sphinx
run: |
cd docs
make SPHINXOPTS="-W --keep-going -n" ${{ matrix.format }}