diff options
| author | skullY <skullydazed@gmail.com> | 2018-05-08 12:20:13 -0700 |
|---|---|---|
| committer | skullydazed <skullydazed@users.noreply.github.com> | 2018-05-08 12:47:08 -0700 |
| commit | 466ee7642317b701181f156f54fa1439bfba2d01 (patch) | |
| tree | 46f7537ff72e63e024174a47e3253b6632193c58 /docs/index.html | |
| parent | d678724ca8978b4d0ad981d11be4171e6315caca (diff) | |
| download | qmk_firmware-466ee7642317b701181f156f54fa1439bfba2d01.tar.gz qmk_firmware-466ee7642317b701181f156f54fa1439bfba2d01.zip | |
switch to the vue theme and add search
Diffstat (limited to 'docs/index.html')
| -rw-r--r-- | docs/index.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html index 9fddda840..0617e1f5c 100644 --- a/docs/index.html +++ b/docs/index.html | |||
| @@ -6,7 +6,8 @@ | |||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
| 7 | <meta name="description" content="Description"> | 7 | <meta name="description" content="Description"> |
| 8 | <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | 8 | <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> |
| 9 | <link rel="stylesheet" href="qmk.css"> | 9 | <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" title="light"> |
| 10 | <link rel="stylesheet" href="qmk.css" title="dark" disabled> | ||
| 10 | </head> | 11 | </head> |
| 11 | <body> | 12 | <body> |
| 12 | <div id="app"></div> | 13 | <div id="app"></div> |
| @@ -18,9 +19,16 @@ | |||
| 18 | loadSidebar: true, | 19 | loadSidebar: true, |
| 19 | auto2top: true, | 20 | auto2top: true, |
| 20 | formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}', | 21 | formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}', |
| 22 | search: { | ||
| 23 | paths: 'auto', | ||
| 24 | placeholder: 'Search Documentation...', | ||
| 25 | noData: 'We could not find any documents matching your search.', | ||
| 26 | depth: 6 | ||
| 27 | } | ||
| 21 | } | 28 | } |
| 22 | </script> | 29 | </script> |
| 23 | <script src="//unpkg.com/docsify/lib/docsify.min.js"></script> | 30 | <script src="//unpkg.com/docsify/lib/docsify.min.js"></script> |
| 31 | <script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script> | ||
| 24 | <script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script> | 32 | <script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script> |
| 25 | <script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script> | 33 | <script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script> |
| 26 | <script src="//unpkg.com/prismjs/components/prism-c.min.js"></script> | 34 | <script src="//unpkg.com/prismjs/components/prism-c.min.js"></script> |
| @@ -28,6 +36,7 @@ | |||
| 28 | <script src="//unpkg.com/prismjs/components/prism-json.min.js"></script> | 36 | <script src="//unpkg.com/prismjs/components/prism-json.min.js"></script> |
| 29 | <script src="//unpkg.com/prismjs/components/prism-makefile.min.js"></script> | 37 | <script src="//unpkg.com/prismjs/components/prism-makefile.min.js"></script> |
| 30 | <script> | 38 | <script> |
| 39 | // Register the offline cache worker | ||
| 31 | if (typeof navigator.serviceWorker !== 'undefined') { | 40 | if (typeof navigator.serviceWorker !== 'undefined') { |
| 32 | navigator.serviceWorker.register('sw.js') | 41 | navigator.serviceWorker.register('sw.js') |
| 33 | } | 42 | } |
