This commit is contained in:
Richard Chien 2017-03-22 12:51:55 +08:00
parent c9cfa24feb
commit 8d9cf4aa8e
2 changed files with 5 additions and 8 deletions

View File

@ -1,8 +1,7 @@
self.$config = { docute.init({
title: 'XiaoKai Bot 文档', title: 'XiaoKai Bot 文档',
home: 'https://raw.githubusercontent.com/CCZU-DEV/xiaokai-bot/master/README.md', home: 'https://raw.githubusercontent.com/CCZU-DEV/xiaokai-bot/master/README.md',
repo: 'CCZU-DEV/xiaokai-bot', repo: 'CCZU-DEV/xiaokai-bot',
url: 'https://cczu-dev.github.io/xiaokai-bot',
nav: { nav: {
default: [ default: [
{ {
@ -34,4 +33,4 @@ self.$config = {
] ]
}, },
plugins: [] plugins: []
}; });

View File

@ -9,12 +9,10 @@
<link rel="stylesheet" href="https://unpkg.com/docute@latest/dist/docute.css"> <link rel="stylesheet" href="https://unpkg.com/docute@latest/dist/docute.css">
</head> </head>
<body> <body>
<!-- don't remove this part -->
<div id="app"></div> <div id="app"></div>
<script src="./config.js"></script>
<script src="https://unpkg.com/docute@latest/dist/docute.js"></script> <script src="https://unpkg.com/docute@latest/dist/docute.js"></script>
<!-- don't remove this part --> <script src="./config.js"></script>
<script src="https://unpkg.com/highlight-languages/python.js"></script> <script src="https://unpkg.com/prismjs/components/prism-python.min.js"></script>
<script src="https://unpkg.com/highlight-languages/bash.js"></script> <script src="https://unpkg.com/prismjs/components/prism-bash.min.js"></script>
</body> </body>
</html> </html>