nonebot2/docs/.vuepress/config.js

81 lines
2.9 KiB
JavaScript
Raw Normal View History

2018-08-14 00:46:45 +08:00
module.exports = {
title: 'NoneBot',
2018-12-27 20:52:40 +08:00
description: '基于 酷Q 的 Python 异步 QQ 机器人框架',
2018-08-14 21:09:09 +08:00
markdown: {
lineNumbers: true
},
2018-08-26 20:16:05 +08: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-12-15 14:21:14 +08:00
ga: 'UA-115509121-2',
2018-08-14 00:46:45 +08:00
themeConfig: {
2018-12-27 20:23:45 +08:00
repo: 'richardchien/nonebot',
2018-08-14 00:46:45 +08:00
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/' },
2018-10-15 11:06:31 +08:00
{ text: 'API', link: '/api.md' },
2018-08-14 23:52:52 +08:00
{ text: '术语表', link: '/glossary.md' },
2018-10-16 14:14:11 +08:00
{ text: '更新日志', link: '/changelog.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-22 22:20:38 +08:00
'command',
'nl-processor',
2018-08-15 01:24:25 +08:00
'tuling',
2018-08-22 22:20:38 +08:00
'notice-and-request',
2020-01-31 13:08:17 +08:00
'cqhttp',
2018-08-26 12:35:53 +08:00
'scheduler',
2019-01-21 15:25:45 +08:00
'usage',
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: [
'',
2019-01-26 22:21:51 +08:00
'command-session',
'command-argument',
'command-group',
2018-09-02 08:44:19 +08:00
'message',
2018-08-22 13:27:27 +08:00
'permission',
'decorator',
2019-01-26 22:21:51 +08:00
'database',
2019-12-23 15:55:20 +08:00
'server-app',
2018-08-26 12:35:53 +08:00
'scheduler',
2018-08-22 13:27:27 +08:00
'logging',
'configuration',
'larger-application',
'deployment',
2018-08-16 00:35:56 +08:00
]
}
],
2018-08-14 00:46:45 +08:00
},
}
}