diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8cf613f6ac91f9557fd06158ca5c84eab9296e8d..8289ad8ac15b86457470bdddbeb0487ac4b6b39e 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 49fa86bd287ebe858f8ea4c6f44ad91385aa983b..e2b42ecd38bec14409ba92a6b282222c50c5ec69 100644
--- a/Pipfile
+++ b/Pipfile
@@ -9,6 +9,7 @@ mkdocs-material = "*"
 mkdocs-glightbox = "*"
 
 [dev-packages]
+mkdocs = "*"
 
 [requires]
 python_version = "3.11"