summaryrefslogtreecommitdiff
path: root/.github/workflows/doxygen.yml
diff options
context:
space:
mode:
authorLevent Kaya <levent.kaya@codefirst.io>2024-11-26 10:11:36 +0300
committerLevent Kaya <levent.kaya@codefirst.io>2024-11-26 10:11:36 +0300
commit6509c3421a0b6200d791d64d849b4137c6382c18 (patch)
treeb2906867b9016681c1b192c8f9d89000b3ea2dbe /.github/workflows/doxygen.yml
parentcf1f7930438902372eaba670380af0a875d5691f (diff)
[docs] ingegrate doxygen with m.css
Diffstat (limited to '.github/workflows/doxygen.yml')
-rw-r--r--.github/workflows/doxygen.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml
index b88c3a4..0794c1c 100644
--- a/.github/workflows/doxygen.yml
+++ b/.github/workflows/doxygen.yml
@@ -10,25 +10,31 @@ jobs:
runs-on: ubuntu-latest
steps:
+ # Checkout the repository
- name: Checkout repository
uses: actions/checkout@v4
+ # Install Doxygen and Graphviz
- name: Set up Doxygen
run: sudo apt-get install -y doxygen graphviz
+ # Clone the m.css repository
- name: Clone m.css
run: |
git clone --depth 1 https://github.com/mosra/m.css.git mcss
ls -R mcss
+ # Configure m.css by copying necessary files
- name: Configure m.css
run: |
- cp mcss/doxygen/m-dark.css ./docs/m-dark.css
- cp mcss/doxygen/m.js ./docs/m.js
+ cp mcss/doxygen/m-dark+documentation.compiled.css ./docs/m-dark.css
+ cp mcss/doxygen/m-dark.compiled.js ./docs/m.js
+ # Generate Doxygen documentation
- name: Generate Doxygen documentation
run: doxygen docs/Doxyfile
+ # Deploy the generated documentation to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with: