-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test mkdocs material with doxybook2 to include doxygen generated docs
- Loading branch information
xiaywang
committed
Jan 20, 2022
1 parent
4cdb679
commit 9397e35
Showing
8 changed files
with
66 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ on: | |
push: | ||
branches: | ||
- master # (2)! | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright 2020 ETH Zurich and University of Bologna. | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: publish-docs | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
- uses: mattnotmitt/doxygen-action@v1 | ||
with: | ||
working-directory: docs/ | ||
- name: Generate Doxygen Documentation | ||
run: | | ||
mkdir doxybook2; cd doxybook2 | ||
wget https://github.com/matusnovak/doxybook2/releases/download/v1.4.0/doxybook2-linux-amd64-v1.4.0.zip | ||
unzip doxybook2-linux-amd64-v1.4.0.zip; cd ../ | ||
chmod +x doxybook2/bin/doxybook2 | ||
mkdir docs/docs | ||
./doxybook2/bin/doxybook2 --input docs/xml --output docs/docs --config docs/doxybook2.json | ||
rm -rf doxybook2 | ||
- run: pip install -r docs/requirements.txt | ||
- run: mkdocs gh-deploy --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,9 @@ test/mrWolf/bench_*.csv | |
|
||
junit-reports | ||
|
||
doc/html/ | ||
doc/latex/ | ||
docs/html/ | ||
docs/xml/ | ||
|
||
*.S | ||
|
||
gmon.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"baseUrl": "/pulp-dsp/docs/", | ||
"indexInFolders": true, | ||
"linkSuffix": "/", | ||
"indexClassesName": "index", | ||
"indexFilesName": "index", | ||
"indexGroupsName": "index", | ||
"indexNamespacesName": "index", | ||
"indexRelatedPagesName": "index", | ||
"indexExamplesName": "index", | ||
"mainPageInRoot": true, | ||
"mainPageName": "index" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Keep sorted. | ||
mkdocs | ||
mkdocs-material |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters