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

Debugging issues

parent d1c35a55
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 #1563654 failed
......@@ -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:
......
......@@ -9,6 +9,7 @@ mkdocs-material = "*"
mkdocs-glightbox = "*"
[dev-packages]
mkdocs = "*"
[requires]
python_version = "3.11"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment