Skip to content

Commit 6a12950

Browse files
Autogenerated: Convert comments to doxygen and add doxygen configs
1 parent 360d81d commit 6a12950

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+10666
-216
lines changed
+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Build Documentation and Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- documentation/doxygen
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
id-token: write
13+
pages: write
14+
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: true
18+
19+
jobs:
20+
# Build job
21+
build:
22+
runs-on: ubuntu-latest
23+
steps:
24+
# Checkout the repository
25+
- name: Checkout repository
26+
uses: actions/checkout@v2
27+
with:
28+
fetch-depth: 0
29+
submodules: "true"
30+
31+
- name: Set Version
32+
run: echo "PROJECT_NUMBER = `git describe --tags`" >> ./docs/doxygen/doxygen-config
33+
34+
- name: Build Documentation
35+
uses: mattnotmitt/[email protected]
36+
with:
37+
doxyfile-path: "./docs/doxygen/doxygen-config"
38+
39+
# Upload the documentation as an artifact
40+
- name: Upload documentation
41+
uses: actions/[email protected]
42+
with:
43+
path: ./docs/html
44+
45+
# Deploy job
46+
deploy:
47+
# Add a dependency to the build job
48+
needs: build
49+
50+
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
51+
permissions:
52+
pages: write # to deploy to Pages
53+
id-token: write # to verify the deployment originates from an appropriate source
54+
55+
# Deploy to the github-pages environment
56+
environment:
57+
name: github-pages
58+
url: ${{ steps.deployment.outputs.page_url }}
59+
60+
# Specify runner + deployment step
61+
runs-on: ubuntu-latest
62+
steps:
63+
- name: Deploy to GitHub Pages
64+
id: deployment
65+
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action

docs/apiref.rst

-8
This file was deleted.

docs/conf.py

-69
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: publish
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
deploy:
7+
runs-on: ubuntu-20.04
8+
steps:
9+
- name: Checkout repository
10+
uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
- name: set version
14+
run: echo "PROJECT_NUMBER = `git describe --tags`" >> Doxyfile
15+
- name: Generate Documentation
16+
uses: mattnotmitt/doxygen-action@edge
17+
- name: Publish generated content to GitHub Pages
18+
uses: tsunematsu21/[email protected]
19+
with:
20+
dir: docs/html
21+
branch: gh-pages
22+
token: ${{ secrets.ACCESS_TOKEN }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
docs/html
2+
.DS_Store
3+
.idea
4+
5+
node_modules
6+
*.tgz
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!doxygen-awesome*
3+

0 commit comments

Comments
 (0)