From 6509c3421a0b6200d791d64d849b4137c6382c18 Mon Sep 17 00:00:00 2001 From: Levent Kaya Date: Tue, 26 Nov 2024 10:11:36 +0300 Subject: [docs] ingegrate doxygen with m.css --- .github/workflows/doxygen.yml | 10 ++++++++-- docs/Doxyfile | 2 +- 2 files changed, 9 insertions(+), 3 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: diff --git a/docs/Doxyfile b/docs/Doxyfile index 32b9630..ba5219c 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -40,7 +40,7 @@ HTML_OUTPUT = html HTML_DYNAMIC_SECTIONS = YES GENERATE_TREEVIEW = YES -# Integrating Doxygen Awesome CSS and JS +# Integrating Doxygen with m.css HTML_EXTRA_STYLESHEET = ./m-dark.css HTML_EXTRA_FILES = ./m.js -- cgit v1.2.3