-
Notifications
You must be signed in to change notification settings - Fork 22
42 lines (35 loc) · 1.14 KB
/
build_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
name: Build Documentation
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x # Change this to the Python version your Sphinx project requires
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd docs
pip install -r requirements.txt # Adjust this if your dependencies are in a different file
- name: Install Doxygen
run: |
wget https://www.doxygen.nl/files/doxygen-1.9.7.linux.bin.tar.gz
tar -xzvf doxygen-1.9.7.linux.bin.tar.gz
cd doxygen-1.9.7
sudo make install
- name: Build Documentation
run: |
make -C docs html # This assumes your Sphinx configuration is in a 'docs' folder
- uses: EndBug/[email protected]
with:
author_name: UMLDev Clang Robot
author_email: [email protected]
message: 'Update documentation'