summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-26 11:30:31 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-26 11:30:31 +0000
commit2f47bdf7f49f05bd421e4182635f489c8cae01b3 (patch)
tree29e0a2d15a70a3c68774a1162bec3c5da0eec89d /.github/workflows
parent924dbeef30fc475a7670a89b99c31ded8282374d (diff)
chore: optimize docs workflow with dynamic theme injection and .nojekyll
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docs.yml21
1 files changed, 19 insertions, 2 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 2540d55..8e557ad 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -14,19 +14,36 @@ jobs:
steps:
- uses: actions/checkout@v4
+ - name: Checkout Doxygen Awesome CSS
+ uses: actions/checkout@v4
+ with:
+ repository: jothepro/doxygen-awesome-css
+ path: doxygen-awesome-css
+
- name: Install Doxygen
run: sudo apt-get update && sudo apt-get install -y doxygen graphviz
+ - name: Configure Doxyfile for Theme
+ run: |
+ echo "HTML_EXTRA_STYLESHEET = doxygen-awesome-css/doxygen-awesome.css" >> Doxyfile
+ echo "GENERATE_TREEVIEW = YES" >> Doxyfile
+ echo "HTML_COLORSTYLE = LIGHT" >> Doxyfile
+
- name: Generate Documentation
run: doxygen Doxyfile
- name: Organize Documentation
run: |
mkdir public
- # Move the CONTENTS of docs/html directly to public
+
+ # Move the generated HTML to public
mv docs/html/* public/
- # Copy the README too
+
+ # Copy the README to the root so it's visible on the repo view
cp README.md public/
+
+ # Prevent GitHub from ignoring Doxygen's underscore folders
+ touch public/.nojekyll
- name: Deploy to z-libs/Zen-C-Docs
uses: peaceiris/actions-gh-pages@v3