diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/docs.yml | 21 |
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 |
