summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/doxygen.yml32
-rw-r--r--.gitignore2
-rw-r--r--docs/Doxyfile6
-rw-r--r--docs/Doxyfile.in6
4 files changed, 38 insertions, 8 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml
index bdd9c9c..85ef454 100644
--- a/.github/workflows/doxygen.yml
+++ b/.github/workflows/doxygen.yml
@@ -1,4 +1,28 @@
-- name: Doxygen Action
- uses: mattnotmitt/doxygen-action@1.9.5
- working-directory: docs
- doxyfile-path: 'Doxyfile'
+name: Documentation
+
+on:
+ push:
+ branches: [ master ]
+
+jobs:
+ build-documentation:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Doxygen Action
+ uses: mattnotmitt/doxygen-action@1.9.5
+ with:
+ doxyfile-path: './Doxyfile'
+ working-directory: 'docs/'
+
+ - name: GH Pages Deployment
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: './docs/html/'
+ enable_jekyll: false
+ allow_empty_commit: false
+ force_orphan: true
+ publish_branch: gh-pages
diff --git a/.gitignore b/.gitignore
index f3939e6..1c02237 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,6 +35,8 @@ config.h
pcitool/pci
version.h
#Doxyfile
+CMakeDoxyfile.in
+CMakeDoxygenDefaults.cmake
html
pcilib/build.h
build.h
diff --git a/docs/Doxyfile b/docs/Doxyfile
index e033b4c..23bfc78 100644
--- a/docs/Doxyfile
+++ b/docs/Doxyfile
@@ -58,7 +58,8 @@ PROJECT_LOGO =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.
-OUTPUT_DIRECTORY = /home/csa/cam0/pcitool/docs
+#OUTPUT_DIRECTORY = /home/csa/cam0/pcitool/docs
+OUTPUT_DIRECTORY =
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
# directories (in 2 levels) under the output directory of each output format and
@@ -759,7 +760,8 @@ WARN_LOGFILE =
# spaces.
# Note: If this tag is empty the current directory is searched.
-INPUT = /home/csa/cam0/pcitool/pcilib/
+#INPUT = /home/csa/cam0/pcitool/pcilib/
+INPUT = ../pcilib/
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
diff --git a/docs/Doxyfile.in b/docs/Doxyfile.in
index 9303846..4a000c8 100644
--- a/docs/Doxyfile.in
+++ b/docs/Doxyfile.in
@@ -58,7 +58,8 @@ PROJECT_LOGO =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.
-OUTPUT_DIRECTORY = ${PCILIB_DOC_DIR}
+#OUTPUT_DIRECTORY = ${PCILIB_DOC_DIR}
+OUTPUT_DIRECTORY =
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
# directories (in 2 levels) under the output directory of each output format and
@@ -759,7 +760,8 @@ WARN_LOGFILE =
# spaces.
# Note: If this tag is empty the current directory is searched.
-INPUT = ${CMAKE_SOURCE_DIR}/pcilib/
+#INPUT = ${CMAKE_SOURCE_DIR}/pcilib/
+INPUT = ../pcilib/
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses