-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (44 loc) · 1 KB
/
docs.yaml
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
48
49
50
51
52
53
name: docs
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- galactic
- humble
schedule:
- cron: '0 0 * * *'
jobs:
ubuntu-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install dependencies
run: |
sudo apt update
sudo apt -y install \
build-essential \
python3 \
python3-pip \
python3-venv \
python3-sphinxcontrib.spelling \
imagemagick \
plantuml
- name: Install python requirements
run: pip3 install -r docs/requirements.txt
- name: Generate HTML docs
run: |
cd docs
make html
- name: Upload documentation
uses: actions/upload-artifact@v4
with:
name: Documentation HTML
path: docs/build/html/
- name: Test docs
run: |
cd docs
make test