-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (65 loc) · 2.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>WA SOC Resources</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<!-- Theme: Simple (light + dark) -->
<link rel="stylesheet" media="(prefers-color-scheme: light)" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple.css">
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple-dark.css">
<link rel="icon" type="image/svg+xml" href="https://github.githubassets.com/favicons/favicon.svg">
<style>
:root {
--theme-color: #cc5733;
--content-max-width: 90em;
--sidebar-width: 30em;
}
</style>
</head>
<body>
<div id="app"></div>
<script>
// This fixes tokens in urls so blob content etc works.
var patchLinking = function(hook, vm) {
hook.beforeEach(function(markdown) {
// workaround for stripping .md from internal urls, see https://github.com/docsifyjs/docsify/blob/v4.13.0/src/core/router/history/base.js#L74
return markdown.replace(/(\([\w/][^):]*\.md)\)/gm, "$1.md)");
});
};
// Docsify Configuration
window.$docsify = {
loadSidebar: "_sidebar.md",
loadNavbar: "_navbar.md",
auto2top: true,
subMaxLevel: 3,
relativePath: true,
ext: "", // workaround for adding .md to all links
plugins: [patchLinking], // add plugin to docsify configuration
alias: {
// clean index
"/": "/README.md",
"/([^.]*)": "/$1.md", // fallback to add .md where no extension provided
// use alias to preserve token in url
"/([^?]*)": "/$1" + window.location.search,
},
noCompileLinks: [
".*\.pdf" // allow pdf downloads (use path relative to index.html)
]
};
</script>
<!-- docsify + docsify-themeable -->
<script src="https://unpkg.com/docsify@4/lib/docsify.min.js"></script>
<!-- prism syntax highlighting -->
<script src="https://unpkg.com/prismjs@1/components/prism-python.js"></script>
<script src="https://unpkg.com/prismjs@1/components/prism-bash.js"></script>
<script src="https://unpkg.com/prismjs@1/components/prism-powershell.js"></script>
<script src="https://unpkg.com/prismjs@1/components/prism-kusto.js"></script>
<script src="https://unpkg.com/docsify-themeable@0"></script>
<!-- Docsify Plugins -->
<script src="https://unpkg.com/docsify-copy-code@2"></script>
<script src="https://unpkg.com/docsify-pagination@2/dist/docsify-pagination.min.js"></script>
<script src="https://unpkg.com/docsify@4/lib/plugins/zoom-image.min.js"></script>
</body>
</html>