diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8289ad8ac15b86457470bdddbeb0487ac4b6b39e..b9a76a1cb4973492f07c7789b1481f5ec258237f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -65,10 +65,16 @@ pages:
     - pipenv run pip install mkdoxy  # Install the mkdoxy plugin if needed
     - echo "MkDocs version:"
     - pipenv run mkdocs --version
+    - apt-get update
+    - apt-get install -y doxygen
+    - export DOXYGEN_BIN=/usr/bin/doxygen
+    - pipenv install --dev  # Install all necessary dependencies
     - echo "Listing files in the project directory:"
     - ls -la $CI_PROJECT_DIR
     - echo "Listing files in docs directory:"
     - ls -la $CI_PROJECT_DIR/docs
+    - which doxygen  # Verifies that Doxygen is available in the path
+
   script:
     # Create the folder where the generated markdown files will be stored
     - mkdir $CI_PROJECT_DIR/docs/aircraft-xml
diff --git a/mkdocs.yml b/mkdocs.yml
index 2d983eb16cf3c80f0c8efdf8a6243e911299fde6..414020efa55c755b28d60562cfd28820d416dc6b 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -66,7 +66,8 @@ plugins:
   - mkdoxy:
       projects:
         aircraft_design:
-          src-dirs: docs/documentattion/aircraft_design/
+          doxygen_bin: "/path/to/doxygen"  # Update with the correct path
+          src-dirs: docs/documentation/aircraft_design/
           full-doc: True
           doxy-cfg:
             FILE_PATTERNS: "*.cpp *.h *.md *.png *.svg" # Include .cpp, .h, .md, .png, .svg files in the documentation