nonebot2/docs/.vuepress/config.js

61 lines
1.9 KiB
JavaScript
Raw Normal View History

2018-08-14 00:46:45 +08:00
module.exports = {
title: 'NoneBot',
description: '基于酷 Q 的 Python 异步 QQ 机器人框架',
2018-08-22 00:31:40 +08:00
// serviceWorker: true,
2018-08-14 21:09:09 +08:00
markdown: {
lineNumbers: true
},
2018-08-14 00:46:45 +08:00
themeConfig: {
repo: 'richardchien/none-bot',
docsDir: 'docs',
editLinks: true,
2018-08-14 01:53:02 +08:00
editLinkText: '在 GitHub 上编辑此页',
2018-08-14 00:46:45 +08:00
lastUpdated: '上次更新',
2018-08-14 21:09:09 +08:00
activeHeaderLinks: false,
2018-08-14 00:46:45 +08:00
nav: [
2018-08-16 00:35:56 +08:00
{ text: '指南', link: '/guide/' },
{ text: '进阶', link: '/advanced/' },
{ text: '配置', link: '/configurations.md' },
2018-08-14 23:52:52 +08:00
{ text: '术语表', link: '/glossary.md' },
2018-08-14 00:46:45 +08:00
],
sidebar: {
'/guide/': [
2018-08-14 21:09:09 +08:00
{
2018-08-16 00:35:56 +08:00
title: '指南',
2018-08-14 21:09:09 +08:00
collapsable: false,
children: [
'',
'installation',
'getting-started',
2018-08-14 23:52:52 +08:00
'whats-happened',
2018-08-22 13:27:27 +08:00
'basic-configuration',
2018-08-16 00:49:33 +08:00
'writing-commands',
'writing-nl-processors',
2018-08-15 01:24:25 +08:00
'tuling',
2018-08-16 00:49:33 +08:00
'handling-notices-and-requests',
2018-08-16 00:35:56 +08:00
'whats-next',
2018-08-14 21:09:09 +08:00
]
}
2018-08-16 00:35:56 +08:00
],
'/advanced/': [
{
title: '进阶',
collapsable: false,
children: [
'',
2018-08-22 13:27:27 +08:00
'message',
'session',
'permission',
'decorator',
'logging',
'configuration',
'argparse',
'larger-application',
'deployment',
2018-08-16 00:35:56 +08:00
]
}
],
2018-08-14 00:46:45 +08:00
},
}
}