Doxygen Github Action Update

This commit is contained in:
jkriege2 2022-04-23 14:19:01 +02:00
parent 3ebbe3f035
commit dfd7826d86
2 changed files with 31 additions and 24 deletions

View File

@ -21,9 +21,9 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
#- uses: actions/checkout@v3 - uses: actions/checkout@v3
# with: with:
# path: JKQtPlotter path: JKQtPlotter
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -34,26 +34,31 @@ jobs:
- name: Update Doxygen to 1.9.3 - name: Update Doxygen to 1.9.3
run: | run: |
pwd currDir=`pwd`
cd $GITHUB_WORKSPACE cd $GITHUB_WORKSPACE
mkdir doxygen mkdir doxygen
wget -O - https://netcologne.dl.sourceforge.net/project/doxygen/rel-1.9.3/doxygen-1.9.3.linux.bin.tar.gz | tar --strip-components=1 -xz -C doxygen wget -O - https://netcologne.dl.sourceforge.net/project/doxygen/rel-1.9.3/doxygen-1.9.3.linux.bin.tar.gz | tar --strip-components=1 -xz -C doxygen
sudo export PATH=$GITHUB_WORKSPACE/doxygen/bin:${PATH} export PATH=$GITHUB_WORKSPACE/doxygen/bin:${PATH}
doxygen --version echo PATH=$PATH
cd $currDir
$GITHUB_WORKSPACE/doxygen/bin/doxygen --version
#- name: Run Doxygen - name: Run Doxygen
# run: | run: |
# cd JKQtPlotter $GITHUB_WORKSPACE/doxygen/bin/doxygen --version
# cd doc cd JKQtPlotter
# doxygen --version pwd
# doxygen Doxyfile ls
# echo "" > html/.nojekyll $GITHUB_WORKSPACE/doxygen/bin/doxygen
# cd ..
# cd ..
- uses: DenverCoder1/doxygen-github-pages-action@v1 - name: Create .nojekyll (ensures pages with underscores work on gh pages)
run: touch JKQtPlotter/doc/html/.nojekyll
shell: bash
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with: with:
github_token: ${{ secrets.GH_PAGES_SECRET }} github_token: ${{ secrets.GH_PAGES_SECRET }}
branch: gh-pages branch: gh-pages
folder: doc/html folder: JKQtPlotter/doc/html

View File

@ -971,7 +971,9 @@ EXCLUDE = moc_*.* \
doc/qtmarketplace_metadata \ doc/qtmarketplace_metadata \
qmake \ qmake \
cmake \ cmake \
.github .github \
doxygen \
doxygen/bin
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded # directories that are symbolic links (a Unix file system feature) are excluded
@ -1311,7 +1313,7 @@ HTML_STYLESHEET =
# list). For an example see the documentation. # list). For an example see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES. # This tag requires that the tag GENERATE_HTML is set to YES.
HTML_EXTRA_STYLESHEET = jkqtplotter_stylesheet.css HTML_EXTRA_STYLESHEET = doc/jkqtplotter_stylesheet.css
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note # other source files which should be copied to the HTML output directory. Note
@ -1321,9 +1323,9 @@ HTML_EXTRA_STYLESHEET = jkqtplotter_stylesheet.css
# files will be copied as-is; there are no commands or markers available. # files will be copied as-is; there are no commands or markers available.
# This tag requires that the tag GENERATE_HTML is set to YES. # This tag requires that the tag GENERATE_HTML is set to YES.
HTML_EXTRA_FILES = images/icon_code.png \ HTML_EXTRA_FILES = doc/images/icon_code.png \
images/icon_note.png \ doc/images/icon_note.png \
images/icon_see.png doc/images/icon_see.png
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
# will adjust the colors in the style sheet and background images according to # will adjust the colors in the style sheet and background images according to