-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (36 loc) · 1.08 KB
/
Copy pathdocumentation.yml
File metadata and controls
47 lines (36 loc) · 1.08 KB
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: Documentation Build
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
documentation-build:
name: documentation-build
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install documentation dependencies
run: python -m pip install -e .[docs]
- name: Install Doxygen and Graphviz
run: sudo apt-get update && sudo apt-get install --yes doxygen graphviz
- name: Create the Doxygen output directory
run: mkdir -p build/doxygen
- name: Build Doxygen reference
run: doxygen Doxyfile
- name: Copy Doxygen output into MkDocs
run: python scripts/copy_doxygen_output_into_mkdocs.py
- name: Build MkDocs site
run: mkdocs build --strict
- name: Upload documentation artifact
uses: actions/upload-artifact@v7
with:
name: documentation-site
path: site