From 8011e52008c9f5f4e8c6faf0f526f5b2b4f5ea1c Mon Sep 17 00:00:00 2001 From: Alfin Johny <alfin.johny@tum.de> Date: Fri, 20 Dec 2024 16:13:03 +0100 Subject: [PATCH] Debugging issues --- .gitlab-ci.yml | 15 ++++++++++++--- Pipfile | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8cf613f..8289ad8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -62,7 +62,13 @@ pages: - apk update && apk --no-cache add doxygen graphviz - pip install pipenv - pipenv install # Install the dependencies from the Pipfile - - pipenv install mkdoxy # Install the mkdoxy plugin + - pipenv run pip install mkdoxy # Install the mkdoxy plugin if needed + - echo "MkDocs version:" + - pipenv run mkdocs --version + - echo "Listing files in the project directory:" + - ls -la $CI_PROJECT_DIR + - echo "Listing files in docs directory:" + - ls -la $CI_PROJECT_DIR/docs script: # Create the folder where the generated markdown files will be stored - mkdir $CI_PROJECT_DIR/docs/aircraft-xml @@ -72,9 +78,12 @@ pages: # Repeat for other titles (structure, propulsion, etc.) - python $CI_PROJECT_DIR/scripts/document_aircraft_xml.py --title Geometry --level 6 $CI_PROJECT_DIR/scripts/CSR-02.xml > $CI_PROJECT_DIR/docs/aircraft-xml/geometry.md # Use the persisted content from the previous stage (aircraft-design) - - cp -r $CI_PROJECT_DIR/aircraft-design $CI_PROJECT_DIR/docs/ # Copy content to the docs folder + - cp -r $CI_PROJECT_DIR/aircraft-design $CI_PROJECT_DIR/docs/ # Copy content to the docs folder + - echo "Listing files:" + - ls -la # Build the MkDocs documentation site - - pipenv run mkdocs build --site-dir $CI_PROJECT_DIR/public + - pipenv run mkdocs build --verbose --site-dir $CI_PROJECT_DIR/public + needs: - doxygen # This job depends on the successful completion of the doxygen job artifacts: diff --git a/Pipfile b/Pipfile index 49fa86b..e2b42ec 100644 --- a/Pipfile +++ b/Pipfile @@ -9,6 +9,7 @@ mkdocs-material = "*" mkdocs-glightbox = "*" [dev-packages] +mkdocs = "*" [requires] python_version = "3.11" -- GitLab