Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Crypto Migration and Agility
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CSpub
Crypto Migration and Agility
Commits
417045b2
Commit
417045b2
authored
4 years ago
by
Dominik Heinz
Browse files
Options
Downloads
Patches
Plain Diff
Added mindmap resizing to gitlab ci file and updated README clone instructions
parent
d92246d0
No related branches found
No related tags found
1 merge request
!5
Feature/markdown gen script
Pipeline
#71657
passed
4 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-4
3 additions, 4 deletions
.gitlab-ci.yml
README.md
+1
-1
1 addition, 1 deletion
README.md
with
4 additions
and
5 deletions
.gitlab-ci.yml
+
3
−
4
View file @
417045b2
...
@@ -16,10 +16,9 @@ variables:
...
@@ -16,10 +16,9 @@ variables:
-
npm install -D --save markmap-lib
-
npm install -D --save markmap-lib
-
npm install -D --save markmap-cli
-
npm install -D --save markmap-cli
script
:
script
:
# mindmap_gen/Mindmap.md creation script here!
-
python3 $MINDMAP_SCRIPT_PATH -d $(pwd)/content
# Generate the mindmap md file
-
echo $(pwd)/content
-
npx markmap-cli -o $MINDMAP_OUT_PATH $MINDMAP_IN_PATH
# Convert mindmap md file to html
-
python3 $MINDMAP_SCRIPT_PATH -d $(pwd)/content
-
sed -i 's/100v/60v/g' $(pwd)/layouts/shortcodes/mindmap.html
# Replaces the width and hight of mindmap with suitable values
-
npx markmap-cli -o $MINDMAP_OUT_PATH $MINDMAP_IN_PATH
-
hugo --minify --gc
-
hugo --minify --gc
except
:
except
:
-
master
-
master
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
417045b2
...
@@ -25,7 +25,7 @@ defined in [`.gitlab-ci.yml`](.gitlab-ci.yml).
...
@@ -25,7 +25,7 @@ defined in [`.gitlab-ci.yml`](.gitlab-ci.yml).
To work locally with this project, you'll have to follow the steps below:
To work locally with this project, you'll have to follow the steps below:
1.
Fork, clone or download this project
1.
Fork, clone or download this project
(Make sure to also recursively clone the submodules)
2.
[
Install
][]
Hugo extended version
2.
[
Install
][]
Hugo extended version
3.
Preview your project on local host zsing the command
`hugo server`
3.
Preview your project on local host zsing the command
`hugo server`
4.
Add or edit content etc.
4.
Add or edit content etc.
...
...
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