Skip to content

Commit dd06546

Browse files
Autogenerated: Convert comments to doxygen and add doxygen configs
1 parent 2028b72 commit dd06546

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

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

docs/apiref.rst

-5
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)