nonebot2/docs/.vuepress/config.js

74 lines
1.9 KiB
JavaScript
Raw Normal View History

2020-06-30 04:10:57 +00:00
module.exports = {
title: "NoneBot",
description: "基于 酷Q 的 Python 异步 QQ 机器人框架",
markdown: {
lineNumbers: true
},
/**
* Extra tags to be injected to the page HTML `<head>`
*
* refhttps://v1.vuepress.vuejs.org/config/#head
*/
head: [
["link", { rel: "icon", href: "/logo.png" }],
["meta", { name: "theme-color", content: "#d32f2f" }],
["meta", { name: "application-name", content: "NoneBot" }],
["meta", { name: "apple-mobile-web-app-title", content: "NoneBot" }],
["meta", { name: "apple-mobile-web-app-capable", content: "yes" }],
[
"meta",
{ name: "apple-mobile-web-app-status-bar-style", content: "black" }
]
],
themeConfig: {
repo: "nonebot/nonebot",
2020-08-20 08:34:07 +00:00
docsDir: "docs",
docsBranch: "dev2",
2020-06-30 04:10:57 +00:00
editLinks: true,
editLinkText: "在 GitHub 上编辑此页",
lastUpdated: "上次更新",
2020-08-20 08:34:07 +00:00
smoothScroll: true,
2020-08-18 09:24:49 +00:00
nav: [{ text: "API", link: "/api/" }],
2020-08-20 07:07:05 +00:00
sidebar: {
"/api/": [
{
title: "NoneBot Api Reference",
path: "",
collapsable: false,
sidebarDepth: 3,
children: [
{
title: "nonebot 模块",
path: "nonebot",
sidebar: "auto"
},
{
title: "nonebot.typing 模块",
path: "typing",
sidebar: "auto"
},
{
title: "nonebot.log 模块",
path: "log",
sidebar: "auto"
},
{
title: "nonebot.exception 模块",
path: "exception",
sidebar: "auto"
},
{
title: "nonebot.config 模块",
path: "config",
sidebar: "auto"
}
]
}
]
}
2020-06-30 04:10:57 +00:00
},
plugins: ["@vuepress/plugin-back-to-top", "@vuepress/plugin-medium-zoom"]
};