-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 772 Bytes
/
Copy pathdocs.yml
File metadata and controls
39 lines (33 loc) · 772 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
name: Build docs
on:
push:
branches:
- main
- devel
pull_request:
branches:
- main
- devel
jobs:
build_docs:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Install Pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install ".[docs]"
- name: Build Sphinx documentation
run: |
cd docs/
make html
- name: Upload built docs as artifact
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/build/html/