Skip to content
Snippets Groups Projects
Commit 0692727a authored by Alfin Johny's avatar Alfin Johny
Browse files

Fix build issues

parent 234ad913
Branches
No related tags found
3 merge requests!55[WEBPAGE] Update style of current unicado page,!18Fix header issue in subpages.,!17Integrate mkdoxy in CI pipeline
Pipeline #1570691 failed
......@@ -63,18 +63,10 @@ pages:
- pip install pipenv
- pipenv install # Install the dependencies from the Pipfile
- 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
......@@ -84,9 +76,7 @@ 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
- echo "Listing files:"
- ls -la
- cp -r $CI_PROJECT_DIR/aircraft-design $CI_PROJECT_DIR/docs/ # Copy content to the docs folder
# Build the MkDocs documentation site
- pipenv run mkdocs build --verbose --site-dir $CI_PROJECT_DIR/public
......@@ -105,11 +95,7 @@ pages:
when: on_success # Run if the source pipeline was successful
# Deploy to GitLab Pages
deploy_gitlab_pages:
<<<<<<< HEAD
stage: .post
=======
stage: deploy to gitlab
>>>>>>> a3a1079f334bf1bc818c8086baa6dba5942cbed0
script:
- mv $CI_PROJECT_DIR/public $CI_PROJECT_DIR/public # Ensure the output is in the public folder
rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment