Skip to content

Commit 37ac411

Browse files
committed
CI: add doxigen doc generation step
Signed-off-by: Hofi <hofione@gmail.com>
1 parent 3d51cbc commit 37ac411

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,18 @@ jobs:
9696
./_tools/pack debug
9797
ls -AlR _site/assets/js
9898
99+
# Generate and add Doxygen source documentation
100+
sudo apt-get install doxygen graphviz -y
101+
102+
OSE_SRC_REPO=https://github.com/HofiOne/syslog-ng.git # https://github.com/syslog-ng/syslog-ng.git
103+
OSE_SRC_REPO_BRANCH=add-doxygen-file # develop - as this is a debeloper documentation us the latest develop branch instead of the master
104+
git clone --branch ${OSE_SRC_REPO_BRANCH} --single-branch ${OSE_SRC_REPO} ./_work
105+
106+
pushd ./_work
107+
( cat ./Doxyfile; echo "OUTPUT_DIRECTORY=../_site/dev-guide/chapter_9/" ) | doxygen -
108+
popd
109+
rm -Rf ./_work
110+
99111
- name: Upload artifact
100112
# Automatically uploads an artifact from the './_site' directory by default
101113
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)