Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
unicado.gitlab.io
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNICADO
unicado.gitlab.io
Commits
0692727a
Commit
0692727a
authored
4 months ago
by
Alfin Johny
Browse files
Options
Downloads
Patches
Plain Diff
Fix build issues
parent
234ad913
Branches
Branches containing commit
No related tags found
3 merge requests
!55
[WEBPAGE] Update style of current unicado page
,
!18
Fix header issue in subpages.
,
!17
Integrate mkdoxy in CI pipeline
Pipeline
#1570691
failed
4 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-15
1 addition, 15 deletions
.gitlab-ci.yml
with
1 addition
and
15 deletions
.gitlab-ci.yml
+
1
−
15
View file @
0692727a
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment