CI: inject Doxygen CSS theme
Also, pin the version of the theme to be used.
@@ -17,18 +17,21 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- fetch-depth: 0 # push all branches and tags
+ fetch-depth: 0 # fetch all branches and tags
- name: Install doxygen
run: |
sudo apt-get install -y doxygen
- - name: Clone doxygen theme
- run: |
- git clone https://github.com/jothepro/doxygen-awesome-css.git ../doxygen-awesome-css
- name: Download & install zydoc
run: |
- wget -O zydoc.tar.gz https://github.com/zyantific/zydoc/releases/download/v0.3.0/zydoc_v0.3.0_x86_64-unknown-linux-musl.tar.gz
+ wget -O zydoc.tar.gz https://github.com/zyantific/zydoc/releases/download/v0.3.2/zydoc_v0.3.2_x86_64-unknown-linux-musl.tar.gz
tar xfv zydoc.tar.gz
mv zydoc /usr/local/bin
+ - name: Clone Doxygen theme
+ run: >-
+ git clone
+ --depth=1 --branch=v2.1.0
+ https://github.com/jothepro/doxygen-awesome-css.git
+ /tmp/doxy-theme
- name: Generate documentation
run: >-
zydoc
@@ -39,6 +42,8 @@ jobs:
--refs 'refs/heads/master'
--refs 'refs/tags/.*'
--exclude-refs 'refs/tags/v1.*'
+ --extra-css /tmp/doxy-theme/doxygen-awesome.css
+ --extra-css /tmp/doxy-theme/doxygen-awesome-sidebar-only.css
- name: Publish documentation
uses: cpina/github-action-push-to-another-repository@v1.5
env:
