Skip to content
Snippets Groups Projects
Commit 417045b2 authored by Dominik Heinz's avatar Dominik Heinz
Browse files

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!5Feature/markdown gen script
Pipeline #71657 passed
...@@ -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
......
...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment