/
index.html
121 lines (120 loc) · 5.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!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 http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=0.1">
<!--link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/pure.css"-->
<!--link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css"-->
<!--link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/buble.css"-->
<!--link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-defaults.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css"-->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css" title="docsify-darklight-theme" type="text/css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.css">
<script src="//cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
<style>.github-corner svg {color: #fff;fill: var(--accent);height: 50px;width: 50px;}</style>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
alias: {
'/.*/_sidebar.md': '/_sidebar.md'
},
auto2top : true,
autoHeader: true,
//ga: '',
darklightTheme: {
siteFont : 'PT Sans',
defaultTheme : 'dark',
dark: {
accent: '#42b983',
toogleBackground : '#ffffff',
background: '#091a28',
textColor: '#b4b4b4',
codeTextColor : '#ffffff',
codeBackgroudColor : '#0e2233',
borderColor : '#0d2538',
blockQuoteColour : '#858585',
highlightColor : '#d22778',
sidebarSublink : '#b4b4b4',
codeTypeColor : '#ffffff',
//toogleImage : 'url(null)',
coverBackground : 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)'
},
codeFontFamily : 'Roboto Mono, Monaco, courier, monospace'
},
executeScript: false,
hideOtherSidebarContent: false,
loadNavbar: true,
loadSidebar: true,
maxLevel : 5,
name: 'Guild Operators',
pagination: {
crossChapter: true,
crossChapterText: true
},
plugins: [
function(hook, vm){
var custommarkdown = [
'<style>.markdown-section{margin-top:25px}</style><style>.sidebar-toggle {top:0px;left:0px;height:40px;width:40px}</style><style>#mermaid-svg-0{width:100%;}</style>'
].join('');
hook.beforeEach(function(content) {
// Invoked each time before parsing the Markdown file.
// ...
return content + custommarkdown;
});
//hook.doneEach(function() {
// // Invoked each time after the data is fully loaded, no arguments,
// // ...
// return custommermaid;
//});
}
],
readyTransition: false,
relativePath: false,
repo: 'https://github.com/cardano-community/guild-operators/tree/master/docs/',
subMaxLevel: 4,
search: {
depth : 5,
noData : 'No results!',
placeholder: 'Search...'
},
markdown: {
renderer: {
code: function(code, lang) {
if (lang === "mermaid") {
return ('<div class="mermaid" align="center">' + mermaid.render('mermaid-svg-0', code) + "</div>");
}
return this.origin.code.apply(this, arguments);
}
}
}
}
//const isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches
const conf = { logLevel:4, startOnLoad: false, securityLevel: 'lose',themeCSS:'.label foreignObject { font-family: Source Sans Pro,Helvetica Neue,Arial,sans-serif;font-size: 90%;overflow: visible;}'};
//if(isDarkMode && false) conf.theme = 'dark';conf.width='100%';
mermaid.initialize(conf);
</script>
<!--script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script-->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-themeable"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-tabs@latest"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-bash.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-json.min.js"></script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/external-script.min.js"></script>
<script src="//unpkg.com/docsify-remote-markdown/dist/docsify-remote-markdown.min.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/docsify/lib/plugins/ga.min.js"></script-->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-bash.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js" type="text/javascript"></script>
<script>mermaid.initialize({ startOnLoad: false,securityLevel: 'loose',htmlLabels: true,flowchart:{curve:'linear'},theme: "forest" });</script>
</body>
</html>