|
10 | 10 | content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" |
11 | 11 | /> |
12 | 12 | <!-- site theme --> |
13 | | - <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" /> |
14 | | - <!-- prismjs theme --> |
15 | 13 | <link |
16 | 14 | rel="stylesheet" |
17 | | - href="//unpkg.com/prismjs@1.15.0/themes/prism-coy.css" |
| 15 | + href="https://unpkg.com/docsify-themeable@0/dist/css/theme-simple.css" |
| 16 | + title="light" |
18 | 17 | /> |
| 18 | + <!-- prismjs theme --> |
| 19 | + <!-- <link rel="stylesheet" href="//unpkg.com/prismjs@1.15.0/themes/prism.css" /> --> |
| 20 | + <!-- <link rel="stylesheet" href="//unpkg.com/prismjs@1.15.0/themes/prism-coy.css" /> --> |
| 21 | + <!-- <link rel="stylesheet" href="//unpkg.com/prism-themes/themes/prism-ghcolors.css" /> --> |
| 22 | + <!-- <link rel="stylesheet" href="//unpkg.com/prism-themes/themes/prism-atom-dark.css" /> --> |
19 | 23 | </head> |
20 | 24 | <body> |
21 | | - <div id="app">asdf-vm loading</div> |
| 25 | + <div id="app"></div> |
22 | 26 | <!-- edit on github plugin must appear here --> |
23 | 27 | <script src="//unpkg.com/docsify-edit-on-github@1.0.1/index.js"></script> |
24 | 28 | <script> |
25 | 29 | window.$docsify = { |
26 | 30 | name: "asdf-vm", |
27 | | - repo: "asdf-vm/asdf/", |
| 31 | + repo: "https://github.com/asdf-vm/asdf", |
28 | 32 | el: "#app", |
| 33 | + homepage: "homepage.md", |
29 | 34 | coverpage: true, |
30 | 35 | loadNavbar: true, |
31 | 36 | loadSidebar: true, |
| 37 | + notFoundPage: true, |
32 | 38 | subMaxLevel: 2, |
33 | 39 | auto2top: true, |
34 | | - homepage: "https://raw.githubusercontent.com/asdf-vm/asdf/master/README.md", |
35 | | - logo: "/_media/asdf-vm-icon.svg", |
36 | | - coverpage: { |
37 | | - "/": "_coverpage.md", |
38 | | - // "/zh-cn/": "_coverpage.md", |
39 | | - }, |
40 | | - nameLink: { |
41 | | - "/": "/", |
42 | | - // "/zh-cn/": "/zh-cn/", |
43 | | - }, |
44 | | - notFoundPage: { |
45 | | - "/": "_404.md", |
46 | | - // "/zh-cn": "zh-cn/_404.md", |
47 | | - }, |
48 | | - // fallbackLanguages: ["en"], |
49 | 40 | alias: { |
50 | 41 | ".*?/plugins-all": |
51 | 42 | "https://raw.githubusercontent.com/asdf-vm/asdf-plugins/master/README.md", |
|
64 | 55 | paths: "auto", |
65 | 56 | placeholder: { |
66 | 57 | "/": "Type to search", |
67 | | - // "/zh-cn/": "搜索", |
68 | 58 | }, |
69 | 59 | noData: { |
70 | 60 | "/": "No Results", |
71 | | - // "/zh-cn/": "找不到结果", |
72 | 61 | }, |
73 | 62 | }, |
74 | 63 | plugins: [ |
|
85 | 74 | <script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script> |
86 | 75 | <script src="//unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script> |
87 | 76 | <!-- 3rd party plugins --> |
88 | | - <script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script> |
89 | | - <script src="//unpkg.com/prismjs/components/prism-markdown.min.js"></script> |
| 77 | + <script src="//unpkg.com/docsify-themeable@0"></script> |
90 | 78 | <script src="//unpkg.com/docsify-copy-code@2"></script> |
91 | 79 | <script src="//unpkg.com/docsify-tabs@1"></script> |
| 80 | + <script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script> |
| 81 | + <script src="//unpkg.com/prismjs/components/prism-markdown.min.js"></script> |
| 82 | + <style> |
| 83 | + :root { |
| 84 | + /* Reduce the font size */ |
| 85 | + --base-font-size: 14px; |
| 86 | + |
| 87 | + /* Change the theme color hue */ |
| 88 | + --theme-color: #aa00d4; |
| 89 | + |
| 90 | + /* generate new cover bg color each load */ |
| 91 | + --cover-background-color: ; |
| 92 | + /* leave cover page title black */ |
| 93 | + --cover-heading-color: ; |
| 94 | + } |
| 95 | + </style> |
92 | 96 | </body> |
93 | 97 | </html> |
0 commit comments