From f73353aed0434334707df114986bb5bd83d8d2c4 Mon Sep 17 00:00:00 2001 From: lvntky Date: Tue, 26 Nov 2024 12:09:22 +0300 Subject: [docs] updated actions --- .github/workflows/doxygen.yml | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) (limited to '.github') diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 208fd3b..f1020b2 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -36,13 +36,15 @@ jobs: python -m pip install --upgrade pip pip install jinja2 Pygments rcssmin - - name: Clone m.css + - name: Clone m.css with Verbose Output run: | - git clone https://github.com/mosra/m.css.git + git clone --verbose https://github.com/mosra/m.css.git + cd m.css + ls -R documentation + pwd - name: Prepare m.css stylesheets run: | - # Navigate to m.css css directory cd m.css/css # Create compiled CSS manually @@ -93,13 +95,19 @@ jobs: run: | doxygen Doxyfile - - name: Process Documentation with m.css (Fallback Strategy) + - name: Process Documentation with m.css (Robust Strategy) shell: bash run: | - # Explicit bash shell to ensure proper error handling set -e # Exit immediately if a command exits with a non-zero status. - # Try m.css processing with error handling + # Debug information + echo "Python version:" + python --version + + echo "m.css directory contents:" + ls -R m.css/documentation + + # Try m.css processing with comprehensive error handling if python m.css/documentation/doxygen.py Doxyfile; then echo "M.css processing successful" else @@ -108,7 +116,7 @@ jobs: # Ensure docs/html exists mkdir -p docs/html - # Create a basic index.html + # Create a detailed fallback index.html cat > docs/html/index.html << 'EOF' @@ -116,15 +124,22 @@ jobs: FBGL Documentation

FBGL Documentation

-

Documentation generation encountered an issue. Please check the repository for the most up-to-date information.

-

View the project on GitHub for more details.

+

Documentation generation encountered an issue.

+

Possible reasons:

+ +

Please check the repository and GitHub Actions workflow for more details.

EOF -- cgit v1.2.3