summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2018-05-08 12:20:13 -0700
committerskullydazed <skullydazed@users.noreply.github.com>2018-05-08 12:47:08 -0700
commit466ee7642317b701181f156f54fa1439bfba2d01 (patch)
tree46f7537ff72e63e024174a47e3253b6632193c58 /docs
parentd678724ca8978b4d0ad981d11be4171e6315caca (diff)
downloadqmk_firmware-466ee7642317b701181f156f54fa1439bfba2d01.tar.gz
qmk_firmware-466ee7642317b701181f156f54fa1439bfba2d01.zip
switch to the vue theme and add search
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html
index 9fddda840d..0617e1f5c1 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -6,7 +6,8 @@
<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">
- <link rel="stylesheet" href="qmk.css">
+ <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" title="light">
+ <link rel="stylesheet" href="qmk.css" title="dark" disabled>
</head>
<body>
<div id="app"></div>
@@ -18,9 +19,16 @@
loadSidebar: true,
auto2top: true,
formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}',
+ search: {
+ paths: 'auto',
+ placeholder: 'Search Documentation...',
+ noData: 'We could not find any documents matching your search.',
+ depth: 6
+ }
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
+ <script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-c.min.js"></script>
@@ -28,6 +36,7 @@
<script src="//unpkg.com/prismjs/components/prism-json.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-makefile.min.js"></script>
<script>
+ // Register the offline cache worker
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}