-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d7d761f
commit ec8e580
Showing
24 changed files
with
3,479 additions
and
1,727 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
MD013: false | ||
MD024: # 重复标题 | ||
siblings_only: true | ||
MD026: false # 允许标题以符号结尾 | ||
MD033: false # 允许 html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,15 @@ | ||
import { defineUserConfig, defaultTheme } from "vuepress"; | ||
import { defineUserConfig } from "vuepress"; | ||
import theme from "./theme.js"; | ||
|
||
export default defineUserConfig({ | ||
base: "/", | ||
|
||
lang: "zh-CN", | ||
title: "Nonebot Bison", | ||
description: "Docs for Nonebot Bison", | ||
theme: defaultTheme({ | ||
navbar: [ | ||
{ text: "主页", link: "/" }, | ||
{ | ||
text: "使用", | ||
children: [ | ||
{ | ||
text: "安装", | ||
link: "/usage/install.md", | ||
activeMatch: "^/usage/install", | ||
}, | ||
{ | ||
text: "入门", | ||
link: "/usage/easy-use.md", | ||
activeMatch: "^/usage/easy-use", | ||
}, | ||
{ | ||
text: "详述", | ||
link: "/usage", | ||
activeMatch: "^/usage$", | ||
}, | ||
], | ||
}, | ||
{ text: "开发", link: "/dev/" }, | ||
{ text: "Github", link: "https://github.com/felinae98/nonebot-bison" }, | ||
], | ||
}), | ||
title: "NoneBot Bison", | ||
description: "NoneBot Bison 文档", | ||
|
||
theme, | ||
|
||
// 和 PWA 一起启用 | ||
// shouldPrefetch: false, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { navbar } from "vuepress-theme-hope"; | ||
|
||
export default navbar([ | ||
"/", | ||
{ | ||
text: "指南", | ||
icon: "book", | ||
prefix: "/usage/", | ||
children: [ | ||
{ | ||
text: "安装", | ||
icon: "box-open", | ||
link: "install", | ||
}, | ||
{ | ||
text: "快速开始", | ||
icon: "truck-fast", | ||
link: "easy-use", | ||
}, | ||
{ | ||
text: "详细介绍", | ||
icon: "motorcycle", | ||
link: "", | ||
activeMatch: "^/usage/?$", | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "开发", | ||
icon: "flask", | ||
link: "/dev/", | ||
}, | ||
]); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.