nonebot2/docs/.vuepress/config.js

74 lines
2.6 KiB
JavaScript
Raw Normal View History

2018-08-13 16:46:45 +00:00
module.exports = {
title: 'NoneBot',
description: '基于酷 Q 的 Python 异步 QQ 机器人框架',
2018-08-14 13:09:09 +00:00
markdown: {
lineNumbers: true
},
2018-08-26 12:16:05 +00:00
head: [
['link', { rel: 'icon', href: `/logo.png` }],
['link', { rel: 'manifest', href: '/manifest.json' }],
['meta', { name: 'theme-color', content: '#ffffff' }],
['meta', { name: 'application-name', content: 'NoneBot' }],
['meta', { name: 'apple-mobile-web-app-title', content: 'NoneBot' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
['link', { rel: 'apple-touch-icon', href: `/icons/apple-touch-icon.png` }],
['link', { rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#5bbad5' }],
['meta', { name: 'msapplication-TileImage', content: '/icons/mstile-150x150.png' }],
['meta', { name: 'msapplication-TileColor', content: '#00aba9' }]
],
2018-08-13 16:46:45 +00:00
themeConfig: {
repo: 'richardchien/none-bot',
docsDir: 'docs',
editLinks: true,
2018-08-13 17:53:02 +00:00
editLinkText: '在 GitHub 上编辑此页',
2018-08-13 16:46:45 +00:00
lastUpdated: '上次更新',
2018-08-14 13:09:09 +00:00
activeHeaderLinks: false,
2018-08-13 16:46:45 +00:00
nav: [
2018-08-15 16:35:56 +00:00
{ text: '指南', link: '/guide/' },
{ text: '进阶', link: '/advanced/' },
{ text: '配置', link: '/configurations.md' },
2018-08-14 15:52:52 +00:00
{ text: '术语表', link: '/glossary.md' },
2018-08-13 16:46:45 +00:00
],
sidebar: {
'/guide/': [
2018-08-14 13:09:09 +00:00
{
2018-08-15 16:35:56 +00:00
title: '指南',
2018-08-14 13:09:09 +00:00
collapsable: false,
children: [
'',
'installation',
'getting-started',
2018-08-14 15:52:52 +00:00
'whats-happened',
2018-08-22 05:27:27 +00:00
'basic-configuration',
2018-08-22 14:20:38 +00:00
'command',
'nl-processor',
2018-08-14 17:24:25 +00:00
'tuling',
2018-08-22 14:20:38 +00:00
'notice-and-request',
2018-08-26 04:35:53 +00:00
'scheduler',
2018-08-15 16:35:56 +00:00
'whats-next',
2018-08-14 13:09:09 +00:00
]
}
2018-08-15 16:35:56 +00:00
],
'/advanced/': [
{
title: '进阶',
collapsable: false,
children: [
'',
2018-08-22 05:27:27 +00:00
'session',
2018-09-02 00:44:19 +00:00
'message',
2018-08-22 05:27:27 +00:00
'permission',
'decorator',
2018-08-26 04:35:53 +00:00
'scheduler',
2018-08-22 05:27:27 +00:00
'logging',
'configuration',
'argparse',
'larger-application',
'deployment',
2018-08-15 16:35:56 +00:00
]
}
],
2018-08-13 16:46:45 +00:00
},
}
}