mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
Doxygen Github Action Update
This commit is contained in:
parent
3ebbe3f035
commit
dfd7826d86
39
.github/workflows/doxygen_build_deploy.yml
vendored
39
.github/workflows/doxygen_build_deploy.yml
vendored
@ -21,9 +21,9 @@ jobs:
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
#- uses: actions/checkout@v3
|
||||
# with:
|
||||
# path: JKQtPlotter
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: JKQtPlotter
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@ -34,26 +34,31 @@ jobs:
|
||||
|
||||
- name: Update Doxygen to 1.9.3
|
||||
run: |
|
||||
pwd
|
||||
currDir=`pwd`
|
||||
cd $GITHUB_WORKSPACE
|
||||
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
|
||||
sudo export PATH=$GITHUB_WORKSPACE/doxygen/bin:${PATH}
|
||||
doxygen --version
|
||||
export PATH=$GITHUB_WORKSPACE/doxygen/bin:${PATH}
|
||||
echo PATH=$PATH
|
||||
cd $currDir
|
||||
$GITHUB_WORKSPACE/doxygen/bin/doxygen --version
|
||||
|
||||
#- name: Run Doxygen
|
||||
# run: |
|
||||
# cd JKQtPlotter
|
||||
# cd doc
|
||||
# doxygen --version
|
||||
# doxygen Doxyfile
|
||||
# echo "" > html/.nojekyll
|
||||
# cd ..
|
||||
# cd ..
|
||||
- name: Run Doxygen
|
||||
run: |
|
||||
$GITHUB_WORKSPACE/doxygen/bin/doxygen --version
|
||||
cd JKQtPlotter
|
||||
pwd
|
||||
ls
|
||||
$GITHUB_WORKSPACE/doxygen/bin/doxygen
|
||||
|
||||
- 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:
|
||||
github_token: ${{ secrets.GH_PAGES_SECRET }}
|
||||
branch: gh-pages
|
||||
folder: doc/html
|
||||
folder: JKQtPlotter/doc/html
|
||||
|
||||
|
12
Doxyfile
12
Doxyfile
@ -971,7 +971,9 @@ EXCLUDE = moc_*.* \
|
||||
doc/qtmarketplace_metadata \
|
||||
qmake \
|
||||
cmake \
|
||||
.github
|
||||
.github \
|
||||
doxygen \
|
||||
doxygen/bin
|
||||
|
||||
# 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
|
||||
@ -1311,7 +1313,7 @@ HTML_STYLESHEET =
|
||||
# list). For an example see the documentation.
|
||||
# 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
|
||||
# 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.
|
||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||
|
||||
HTML_EXTRA_FILES = images/icon_code.png \
|
||||
images/icon_note.png \
|
||||
images/icon_see.png
|
||||
HTML_EXTRA_FILES = doc/images/icon_code.png \
|
||||
doc/images/icon_note.png \
|
||||
doc/images/icon_see.png
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user