|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <title>Go 命令教程</title> |
| 6 | + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
| 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"> |
| 9 | + <!-- 在 GitHub 上编辑 --> |
| 10 | + <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css"> |
| 11 | + <!-- 自定义样式 --> |
| 12 | + <style> |
| 13 | + .sidebar li>p a { |
| 14 | + font-weight: 700; |
| 15 | + } |
| 16 | + .sidebar ul p.active>a { |
| 17 | + border-right: 2px solid; |
| 18 | + color: var(--theme-color,#42b983); |
| 19 | + } |
| 20 | + </style> |
| 21 | + <script src="//unpkg.com/docsify-edit-on-github/index.js"></script> |
| 22 | +</head> |
| 23 | +<body> |
| 24 | + <div id="app"></div> |
| 25 | + <script> |
| 26 | + window.$docsify = { |
| 27 | + name: 'Go 命令教程', |
| 28 | + repo: 'hyper0x/go_command_tutorial', |
| 29 | + loadSidebar: true, |
| 30 | + auto2top: true, |
| 31 | + // 全文搜索配置 |
| 32 | + search: { |
| 33 | + paths: 'auto', // or 'auto' |
| 34 | + placeholder: '输入关键词搜索', |
| 35 | + noData: '找不到结果' |
| 36 | + }, |
| 37 | + pagination: { |
| 38 | + previousText: '上一节', |
| 39 | + nextText: '下一节', |
| 40 | + crossChapter: false |
| 41 | + }, |
| 42 | + plugins: [ |
| 43 | + EditOnGithubPlugin.create( |
| 44 | + 'https://github.com/hyper0x/go_command_tutorial/blob/master/', |
| 45 | + undefined, |
| 46 | + '在 GitHub 上编辑本页' |
| 47 | + ), |
| 48 | + function(hook) { |
| 49 | + var footer = [ |
| 50 | + '<footer>', |
| 51 | + '<span>Powered by <a href="https://github.com/docsifyjs/docsify" target="_blank">docsify</a>.</span>', |
| 52 | + '</footer>' |
| 53 | + ].join(''); |
| 54 | + |
| 55 | + hook.afterEach(function(html) { |
| 56 | + return html + footer; |
| 57 | + }); |
| 58 | + } |
| 59 | + ] |
| 60 | + } |
| 61 | + </script> |
| 62 | + <script src="//unpkg.com/docsify/lib/docsify.min.js"></script> |
| 63 | + <!-- 语言高亮 --> |
| 64 | + <script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script> |
| 65 | + <!-- 全文搜索 --> |
| 66 | + <script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script> |
| 67 | + <!-- emoji 支持 --> |
| 68 | + <script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script> |
| 69 | + <!-- 复制到剪贴板 --> |
| 70 | + <script src="//unpkg.com/docsify-copy-code"></script> |
| 71 | + <!-- 图片缩放 --> |
| 72 | + <script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script> |
| 73 | + <!-- 分页 --> |
| 74 | + <script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script> |
| 75 | +</body> |
| 76 | +</html> |
0 commit comments