-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 876 Bytes
/
build-docs.yml
File metadata and controls
37 lines (32 loc) · 876 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
name: Build Documentation
on:
push:
branches: [main]
paths:
- "examples/ImGui/**"
- ".github/workflows/build-docs.yml"
pull_request:
branches: [main]
paths:
- "examples/ImGui/**"
jobs:
build-doxygen-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Doxygen + dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen graphviz
- name: Generate documentation (ImGui example)
run: |
cd examples/ImGui
make docs || true
continue-on-error: true
- name: Upload documentation artifact (For debugging purposes)
if: always()
uses: actions/upload-artifact@v4
with:
name: doxygen-html-docs
path: examples/ImGui/build/docs/html/
retention-days: 15