176 lines
5.2 KiB
HTML
176 lines
5.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Document</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
<meta name="description" content="Description">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
|
<link
|
|
rel="stylesheet"
|
|
href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css"
|
|
title="docsify-darklight-theme"
|
|
type="text/css"
|
|
/>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app"></div>
|
|
<script>
|
|
window.$docsify = {
|
|
name: 'Yggdrasil',
|
|
repo: 'https://git.kb28.ch/Klagarge/Yggdrasil.git',
|
|
maxLevel: 3,
|
|
coverpage: false,
|
|
loadNavbar: true, // Nav bar on top - was true
|
|
subMaxLevel: 3,
|
|
auto2top: true, // was true
|
|
mergeNavbar: true, // was true
|
|
//search: 'auto',
|
|
pagination: {
|
|
previousText: {
|
|
'/en/': 'PREV',
|
|
'/' : 'PREC'
|
|
},
|
|
nextText: {
|
|
'/en/': 'NEXT',
|
|
'/': 'SUIV'
|
|
},
|
|
crossChapter: true,
|
|
crossChapterText: true,
|
|
},
|
|
latex: {
|
|
inlineMath : [['$', '$'], ['\\(', '\\)']], // default
|
|
displayMath : [['$$', '$$']], // default
|
|
customOptions: {} // default
|
|
},
|
|
select: {
|
|
detectOperatingSystem: {
|
|
enabled: false,
|
|
menuId: "operating-system"
|
|
}
|
|
},
|
|
markdown: {
|
|
renderer: {
|
|
|
|
code: function (code, lang) {
|
|
if (lang === 'drawio') {
|
|
if (window.drawioConverter) {
|
|
console.log('drawio')
|
|
return window.drawioConverter(code)
|
|
} else {
|
|
return `<div class='drawio-code'>${code}</div>`
|
|
}
|
|
} else {
|
|
return this.origin.code.apply(this, arguments);
|
|
}
|
|
}
|
|
}
|
|
},
|
|
darklightTheme: {
|
|
siteFont : "Ubuntu",
|
|
defaultTheme : 'light',
|
|
codeFontFamily : 'Roboto Mono, Monaco, courier, monospace',
|
|
bodyFontSize : '17px',
|
|
dark: {
|
|
accent: '#42b983',
|
|
toogleBackground : '#ffffff',
|
|
background: '#091a28',
|
|
textColor: '#b4b4b4',
|
|
codeTextColor : '#ffffff',
|
|
codeBackgroundColor : '#0e2233',
|
|
borderColor : '#0d2538',
|
|
blockQuoteColor : '#858585',
|
|
highlightColor : '#d22778',
|
|
sidebarSublink : '#b4b4b4',
|
|
codeTypeColor : '#ffffff',
|
|
coverBackground : 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)',
|
|
toogleImage : 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/sun.svg)'
|
|
},
|
|
light: {
|
|
accent: '#42b983',
|
|
toogleBackground : '#091a28',
|
|
background: '#ffffff',
|
|
textColor: '#34495e',
|
|
codeTextColor : '#525252',
|
|
codeBackgroundColor : '#f8f8f8',
|
|
borderColor : 'rgba(0, 0, 0, 0.07)',
|
|
blockQuoteColor : '#858585',
|
|
highlightColor : '#d22778',
|
|
sidebarSublink : '#b4b4b4',
|
|
codeTypeColor : '#091a28',
|
|
coverBackground : 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)',
|
|
toogleImage : 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/moon.svg)'
|
|
}
|
|
},
|
|
};
|
|
</script>
|
|
<!-- Docsify v4 -->
|
|
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
|
|
|
|
<!-- Search plugin -->
|
|
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
|
|
|
<!-- Render graph (UML/Mermaid/... -->
|
|
<script src="//unpkg.com/docsify-kroki">
|
|
kroki: {
|
|
langs: [
|
|
"actdiag",
|
|
"blockdiag",
|
|
"bpmn",
|
|
"bytefield",
|
|
"c4plantuml",
|
|
"d2",
|
|
"dbml",
|
|
"ditaa",
|
|
"erd",
|
|
"excalidraw",
|
|
"graphviz",
|
|
"mermaid",
|
|
"nomnoml",
|
|
"nwdiag",
|
|
"packetdiag",
|
|
"pikchr",
|
|
"plantuml",
|
|
"rackdiag",
|
|
"seqdiag",
|
|
"structurizr",
|
|
"svgbob",
|
|
"symbolator",
|
|
"tikz",
|
|
"vega",
|
|
"vegalite",
|
|
"wavedrom",
|
|
"wireviz",
|
|
],
|
|
serverPath: "//localhost:8000/"
|
|
</script>
|
|
|
|
<!-- Copy code button -->
|
|
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
|
|
|
|
<!-- Pagination -->
|
|
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
|
|
|
|
<!-- LateX -->
|
|
<script src="//cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify-latex@0"></script>
|
|
|
|
<!-- Flexible alert -->
|
|
<script src="https://unpkg.com/docsify-plugin-flexible-alerts"></script>
|
|
|
|
<!-- Code highlights -->
|
|
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-armasm.js"></script>
|
|
|
|
<!-- Dark Theme -->
|
|
<script src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js"> </script>
|
|
|
|
<!-- docsify-select (latest v1.x.x) -->
|
|
<script src="https://cdn.jsdelivr.net/npm/docsify-select@1"></script>
|
|
|
|
<!-- Draw.io -->
|
|
<script src="https://cdn.jsdelivr.net/npm/docsify-drawio/viewer.min.js"></script>
|
|
<script src='https://cdn.jsdelivr.net/npm/docsify-drawio/drawio.js'></script>
|
|
</body>
|
|
</html>
|