Commit d6060539 authored by Nouri-Alnahawi's avatar Nouri-Alnahawi
Browse files

add mindmap build step to ci

parent 311f5d90
Pipeline #71557 passed with stages
in 1 minute and 32 seconds
......@@ -3,6 +3,8 @@ image: registry.gitlab.com/pages/hugo/hugo_extended
variables:
GIT_SUBMODULE_STRATEGY: recursive
MINDMAP_OUT_PATH: '/layouts/shortcodes/mindmap.html'
MINDMAP_IN_PATH: '/mindmap_gen/mindmap.md'
.job_templae: &script
......@@ -14,7 +16,8 @@ variables:
- npm install -D --save markmap-lib
- npm install -D --save markmap-cli
script:
# Mindmap script here!
# mindmap_gen/Mindmap.md creation script here!
- npx markmap-cli -o $MINDMAP_OUT_PATH $MINDMAP_IN_PATH
- hugo --minify --gc
except:
- master
......
......@@ -9,4 +9,4 @@ menu:
main:
weight: 2
---
## HTML
{{< mindmap >}}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Markmap</title>
<style>
* {
margin: 0;
padding: 0;
}
#mindmap {
display: block;
width: 75vw;
height: 75vh;
}
</style>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/markmap-toolbar@0.1.6/dist/style.min.css">
</head>
<body>
<svg id="mindmap"></svg>
<script src="https://cdn.jsdelivr.net/npm/d3@6.6.0"></script><script src="https://cdn.jsdelivr.net/npm/markmap-view@0.2.6"></script><script src="https://cdn.jsdelivr.net/npm/markmap-toolbar@0.1.6/dist/index.umd.min.js"></script><script>(r => {
setTimeout(r);
})(() => {
const {
markmap,
mm
} = window;
const toolbar = new markmap.Toolbar();
toolbar.attach(mm);
const el = toolbar.render();
el.setAttribute('style', 'position:absolute;bottom:20px;right:20px');
document.body.append(el);
})</script><script>((getMarkmap, getOptions, data) => {
const {
Markmap
} = getMarkmap();
window.mm = Markmap.create('svg#mindmap', getOptions == null ? void 0 : getOptions(), data);
})(() => window.markmap,null,{"t":"heading","d":1,"p":{"lines":[0,1]},"v":"Cryptographic Migration &amp; Agility","c":[{"t":"heading","d":2,"p":{"lines":[2,3]},"v":"Migration","c":[{"t":"heading","d":3,"p":{"lines":[3,4]},"v":"Algorithms"},{"t":"heading","d":3,"p":{"lines":[4,5]},"v":"Performance","c":[{"t":"heading","d":4,"p":{"lines":[5,6]},"v":"Algorithm"},{"t":"heading","d":4,"p":{"lines":[6,7]},"v":"Hardware"},{"t":"heading","d":4,"p":{"lines":[7,8]},"v":"Network"}]}]},{"t":"heading","d":2,"p":{"lines":[9,10]},"v":"Agility"}]})</script>
</body>
</html>
---
title: "Categorization Scheme"
linktitle: "Categorization Scheme"
date: 2021-05-05T22:20:34+02:00
draft: false
type: docs
weight: 4
menu:
main:
weight: 2
---
## HTML
## Cryptographic Migration & Agility
### Migration
#### Algorithms
#### Performance
##### Algorithm
##### Hardware
##### Network
### Agility
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment