Skip to content

Commit 1b960e2

Browse files
committed
将 about/ 内容移出子目录
新增贡献者列表;对未完成文档添加待办标记;完善 csl 侧边栏配置
1 parent 2a3d126 commit 1b960e2

17 files changed

Lines changed: 88 additions & 26 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## 贡献指南
1414

15-
见 <https://zotero-chinese.com/about/contributing/CONTRIBUTING.html>
15+
见 <https://zotero-chinese.com/contributing/>
1616

1717
## 致谢
1818

‎src/.vuepress/navbar.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const zhNavbar = navbar([
4040
{
4141
text: "贡献指南",
4242
icon: "creative",
43-
link: "/about/contributing/CONTRIBUTING.md",
43+
link: "/contributing/",
4444
},
4545
{
4646
text: "关于 Zotero 中文小组",
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { arraySidebar } from "vuepress-theme-hope";
2+
3+
export const cslDevGuide = arraySidebar([
4+
// "",
5+
"primer",
6+
"xml-basic",
7+
"specification",
8+
{
9+
text: "附录",
10+
prefix: "appendix/",
11+
collapsible: true,
12+
children: "structure",
13+
},
14+
"translating-locale-files",
15+
]);

‎src/.vuepress/sidebar/index.ts‎

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
import { userGuide } from "./user-guide";
2+
import { cslDevGuide } from "./csl-dev-guide";
3+
import { pluginDevGuide } from "./plugin-dev-guide";
24
import { sidebar } from "vuepress-theme-hope";
35

46
export const zhSidebar = sidebar({
57
"/user-guide/": userGuide,
68
"/plugin-dev-guide/": "structure",
7-
"/csl-dev-guide/": "structure",
8-
"/about/": "structure",
9-
"/": "structure",
9+
"/csl-dev-guide/": cslDevGuide,
10+
"/": [
11+
"about",
12+
"contributors",
13+
{
14+
text: "贡献者指南",
15+
icon: "build",
16+
prefix: "contributing",
17+
collapsible: true,
18+
children: [
19+
"contributing",
20+
"markdown",
21+
"markdown-demo",
22+
"vscode-dev",
23+
"build",
24+
],
25+
},
26+
],
1027
});
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { arraySidebar } from "vuepress-theme-hope";
2+
3+
export const pluginDevGuide = arraySidebar([""]);

‎src/.vuepress/theme.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default hopeTheme({
3030
sidebar: zhSidebar,
3131

3232
footer:
33-
"Zotero 中文小组 | <a href='/about/contributing/CONTRIBUTING.html'>贡献指南</a> | <a href='/'>参与讨论</a> | <a href='/'>加入 QQ 群组</a>",
33+
"Zotero 中文小组 | <a href='/contributing/'>贡献指南</a> | <a href='/'>参与讨论</a> | <a href='/'>加入 QQ 群组</a>",
3434

3535
displayFooter: true,
3636

@@ -90,6 +90,10 @@ export default hopeTheme({
9090
// vuePlayground: true,
9191
},
9292

93+
// autoCatalog: {
94+
// orderGetter: (page) => {return page.routeMeta}
95+
// },
96+
9397
// uncomment these if you want a pwa
9498
// pwa: {
9599
// favicon: "/favicon.ico",

‎src/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ highlights:
103103
- title: 贡献者指南
104104
icon: like
105105
details: 查看如何为项目做出贡献。
106-
link: /about/contributing/CONTRIBUTING.html
106+
link: /contributing/
107107

108108
- title: QQ 群
109109
icon: group

‎src/about.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: 关于 Zotero 中文小组
3+
icon: like
4+
---
5+
6+
# 关于 Zotero 中文小组
7+
8+
::: tip
9+
10+
待办,关于页面
11+
12+
:::

‎src/about/README.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎src/about/contributing/README.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)