diff --git a/.vitepress/contributors.ts b/.vitepress/contributors.ts index 9e67d3f7..b36cf033 100644 --- a/.vitepress/contributors.ts +++ b/.vitepress/contributors.ts @@ -12,27 +12,41 @@ export interface WikiContributor { * * 主要针对多个账号属于同一个人的情况 */ - nameAliases?: string[]; + mapByNameAliases?: string[]; /** * 邮箱别名 * * 主要针对多个账号属于同一个人的情况 */ - emailAliases?: string[]; + mapByEmailAliases?: string[]; + /** + * 主页 + * + * 可以连接到个人主页,如果不填,默认使用 GitHub 主页 + */ + links?: string[]; } export const wikiContributors: WikiContributor[] = [ + { + name: "Northword", + username: "northword", + mapByNameAliases: ["northword"], + mapByEmailAliases: ["44738481+northword@users.noreply.github.com"], + }, { name: "Chikit-L", username: "Chikit-L", + mapByNameAliases: ["Chikit_L", "Chikit"], }, { name: "l0o0", username: "l0o0", }, { - name: "Comte0825", + name: "阿狸", username: "Comte0825", + mapByNameAliases: ["Comte0825", "Ali"], }, { name: "Maple-YZ", @@ -43,8 +57,9 @@ export const wikiContributors: WikiContributor[] = [ username: "jiaojiaodubai", }, { - name: "wakewon", + name: "可口可乐", username: "wakewon", + mapByNameAliases: ["Victor", "wakewon"], }, { name: "syt2", @@ -53,5 +68,11 @@ export const wikiContributors: WikiContributor[] = [ { name: "windingwind", username: "windingwind", + mapByNameAliases: ["winding"], + }, + { + name: "不秃燃的小老弟", + username: "MoYuXianR", + mapByNameAliases: ["MoYuXianR"], }, ]; diff --git a/contributing/markdown.md b/contributing/markdown.md index ff122b2b..f8a7e0a6 100644 --- a/contributing/markdown.md +++ b/contributing/markdown.md @@ -32,12 +32,10 @@ Frontmatter 必须在 Markdown 文件的顶部,并且被包裹在一对三短 ```md --- title: 页面的标题 -author: - - name: 作者1 - url: https://github.com/windingwind - - name: 作者2 - url: https://northword.cn - - name: 作者3 +authors: + - 作者1 + - 作者2 + - 作者3 date: 2023-07-20 23:46:54 --- @@ -48,20 +46,11 @@ date: 2023-07-20 23:46:54 下面是一些常用的 Frontmatter 键: -| 键 | 类型 | 必填 | 默认值 | 描述 | -| ---------- | ------ | ---- | -------------- | ---------------------------------------------------------------------------------------------------------------- | -| title | string | 否 | 第一个一级标题 | 页面的标题。如果你不在 Frontmatter 中设置 title ,那么页面中第一个一级标题(即 # title)的内容会被当作标题使用。 | -| shortTitle | string | 否 | 标题 | 当前页面的短标题,会在导航栏、侧边栏和路径导航中作为首选。 | -| author | - | 否 | - | 见下述 | -| data | string | 否 | 文件的创建日期 | 文档的创建日期 | - -::: info `author` 详解 - -`author` 由一组 `author.name` 和 `author.url` / `author.email` 组成,其中 `url` 和 `email` 都是可选的。 - -尤其需要注意的是缩进,name 前空二格,加一个短横线 `-`,空一格。`url` 或 `email` 与 `name` 保持对齐,不需要加 `-`。 - -::: +| 键 | 类型 | 必填 | 默认值 | 描述 | +| ------ | -------- | ---- | -------------- | ---------------------------------------------------------------------------------------------------------------- | +| title | string | 否 | 第一个一级标题 | 页面的标题。如果你不在 Frontmatter 中设置 title ,那么页面中第一个一级标题(即 # title)的内容会被当作标题使用。 | +| author | string[] | 否 | - | 当前文档的作者增补,默认情况下会从 Git 记录获取作者。 | +| data | string | 否 | 文件的创建日期 | 文档的创建日期 | :::: diff --git a/csl-dev-guide/glossary.md b/csl-dev-guide/glossary.md index f9ce75de..37ccd415 100644 --- a/csl-dev-guide/glossary.md +++ b/csl-dev-guide/glossary.md @@ -1,8 +1,7 @@ --- title: 术语对照表 -author: - - name: jiaojiaodubai - url: https://github.com/jiaojiaodubai +authors: + - jiaojiaodubai date: 2024-02-16 00:51:03 --- diff --git a/plugin-dev-guide/development/debug.md b/plugin-dev-guide/development/debug.md index 8f15c493..cf2560d6 100644 --- a/plugin-dev-guide/development/debug.md +++ b/plugin-dev-guide/development/debug.md @@ -1,10 +1,8 @@ --- -author: - - name: windingwind - url: https://github.com/windingwind/ - - name: ShareStuff - - name: northword - url: https://github.com/northword/ +authors: + - windingwind + - ShareStuff + - northword --- # 调试代码 diff --git a/plugin-dev-guide/index.md b/plugin-dev-guide/index.md index 4a0fddf4..77b11d40 100644 --- a/plugin-dev-guide/index.md +++ b/plugin-dev-guide/index.md @@ -2,9 +2,8 @@ title: 插件开发指南 date: 2023-04-20 10:06:59 updated: 2023-07-20 16:51:54 -author: - - name: windingwind - url: https://github.com/windingwind/ +authors: + - windingwind --- # 插件开发指南 diff --git a/plugin-dev-guide/reference/bootstrap.md b/plugin-dev-guide/reference/bootstrap.md index d8e1422a..f4002bf3 100644 --- a/plugin-dev-guide/reference/bootstrap.md +++ b/plugin-dev-guide/reference/bootstrap.md @@ -1,9 +1,7 @@ --- -author: - - name: windingwind - url: https://github.com/windingwind/ - - name: northword - url: https://github.com/northword/ +authors: + - windingwind + - northword --- # 引导脚本 diff --git a/plugin-dev-guide/reference/manifest.md b/plugin-dev-guide/reference/manifest.md index a6d56b93..623fada7 100644 --- a/plugin-dev-guide/reference/manifest.md +++ b/plugin-dev-guide/reference/manifest.md @@ -1,7 +1,6 @@ --- -author: - - name: northword - url: https://github.com/northword/ +authors: + - northword --- # 插件清单 diff --git a/plugin-dev-guide/reference/notify.md b/plugin-dev-guide/reference/notify.md index 0b6de9a9..90be9e3a 100644 --- a/plugin-dev-guide/reference/notify.md +++ b/plugin-dev-guide/reference/notify.md @@ -1,7 +1,6 @@ --- -author: - - name: windingwind - url: https://github.com/windingwind/ +authors: + - windingwind --- # Zotero 事件机制 diff --git a/plugin-dev-guide/reference/preference.md b/plugin-dev-guide/reference/preference.md index d68605ed..51601e05 100644 --- a/plugin-dev-guide/reference/preference.md +++ b/plugin-dev-guide/reference/preference.md @@ -1,10 +1,8 @@ --- -author: - - name: windingwind - url: https://github.com/windingwind/ - - name: ShareStuff - - name: northword - url: https://github.com/northword/ +authors: + - windingwind + - ShareStuff + - northword --- # Zotero 首选项 diff --git a/user-guide/backup.md b/user-guide/backup.md index a31a1794..9ce2fc7b 100644 --- a/user-guide/backup.md +++ b/user-guide/backup.md @@ -1,11 +1,9 @@ --- title: 备份 icon: database -author: - - name: Chikit-L - url: https://github.com/Chikit-L - - name: Northword - url: https://northword.dev +authors: + - Chikit-L + - Northword date: 2023-06-28 21:19:25 updated: 2023-10-04 18:38:54 --- diff --git a/user-guide/faqs/caj2pdf.md b/user-guide/faqs/caj2pdf.md index cbaba3fd..51360802 100644 --- a/user-guide/faqs/caj2pdf.md +++ b/user-guide/faqs/caj2pdf.md @@ -1,7 +1,7 @@ --- title: CAJ 文件转为 PDF 文件 -author: - - name: Chikit_L +authors: + - Chikit_L date: 2024-7-21 15:24:09 updated: 2024-7-21 15:24:09 --- diff --git a/user-guide/faqs/word-addon.md b/user-guide/faqs/word-addon.md index 6c4febeb..029b0bf7 100644 --- a/user-guide/faqs/word-addon.md +++ b/user-guide/faqs/word-addon.md @@ -1,11 +1,10 @@ --- -author: - - name: Northword - - name: winding - - name: ShareStuff - - name: Chikit_L - - name: 可口可乐 - url: https://github.com/wakewon +authors: + - Northword + - winding + - ShareStuff + - Chikit_L + - 可口可乐 date: 2023-10-04 11:38:09 updated: 2024-01-31 20:01:21 order: 2 diff --git a/user-guide/faqs/zotero-7-beta-versions.md b/user-guide/faqs/zotero-7-beta-versions.md index b8351d32..272d22d3 100644 --- a/user-guide/faqs/zotero-7-beta-versions.md +++ b/user-guide/faqs/zotero-7-beta-versions.md @@ -1,8 +1,6 @@ --- title: Zotero 7 Beta 历史版本下载 date: 2024-07-21 15:26:17 -author: - - name: Chikit_L --- # Zotero 7 Beta 历史版本下载 diff --git a/user-guide/feed.md b/user-guide/feed.md index 672e3374..4c0a6c11 100644 --- a/user-guide/feed.md +++ b/user-guide/feed.md @@ -1,8 +1,8 @@ --- title: Feed icon: rss -author: - - name: 阿狸 +authors: + - 阿狸 --- # Feed RSS diff --git a/user-guide/group.md b/user-guide/group.md index 7aea6fb5..240e730d 100644 --- a/user-guide/group.md +++ b/user-guide/group.md @@ -1,9 +1,9 @@ --- title: 群组 icon: user-group -author: - - name: Ali - - name: Northword +authors: + - Ali + - Northword date: 2023-06-28 21:19:17 updated: 2023-12-06 18:51:54 --- diff --git a/user-guide/import-from-other-software.md b/user-guide/import-from-other-software.md index 4b40b099..0ad1f38b 100644 --- a/user-guide/import-from-other-software.md +++ b/user-guide/import-from-other-software.md @@ -1,6 +1,6 @@ --- -author: - - name: 阿狸 +authors: + - 阿狸 icon: copy --- diff --git a/user-guide/index.md b/user-guide/index.md index 638f15d6..fdd21f5a 100644 --- a/user-guide/index.md +++ b/user-guide/index.md @@ -14,7 +14,7 @@ updated: 2023-07-20 16:51:54 本文档由 [Zotero Chinese](https://github.com/zotero-chinese) 团队维护。有任何问题,欢迎在文档下方留言! -本文档地址:[zotero-chinese.com](https://zotero-chinese.com/) +本文档地址:[`zotero-chinese.com`](https://zotero-chinese.com/) ::: diff --git a/user-guide/misc/link-citation-to-bibliography.md b/user-guide/misc/link-citation-to-bibliography.md index d019f37c..4d05595d 100644 --- a/user-guide/misc/link-citation-to-bibliography.md +++ b/user-guide/misc/link-citation-to-bibliography.md @@ -1,8 +1,7 @@ --- date: 2022-07-29 20:23:17 -author: - - name: Northword - url: https://northword.dev +authors: + - Northword updated: 2023-10-04 11:59:36 title: 在 Word 中把引注链接到参考文献表 --- diff --git a/user-guide/misc/wps-plugin-vba.md b/user-guide/misc/wps-plugin-vba.md index c8e93a34..4ac9871c 100644 --- a/user-guide/misc/wps-plugin-vba.md +++ b/user-guide/misc/wps-plugin-vba.md @@ -1,8 +1,8 @@ --- title: 通过 VBA 在 WPS 中使用 Word 插件 -author: - - name: winding - - name: 不秃燃的小老弟 +authors: + - winding + - 不秃燃的小老弟 date: 2022-11-08 11:38:09 updated: 2023-10-04 12:06:44 --- diff --git a/user-guide/plugins/style.md b/user-guide/plugins/style.md index b0b89685..e46eed25 100644 --- a/user-guide/plugins/style.md +++ b/user-guide/plugins/style.md @@ -1,5 +1,6 @@ --- -author: Chikit +authors: + - Chikit date: 2024-03-13 21:39:17 --- diff --git a/user-guide/plugins/zotero-gpt.md b/user-guide/plugins/zotero-gpt.md index 53ab1ab2..91a3ad51 100644 --- a/user-guide/plugins/zotero-gpt.md +++ b/user-guide/plugins/zotero-gpt.md @@ -1,5 +1,6 @@ --- -author: Chikit +authors: + - Chikit date: 2024-04-15 20:31:17 --- diff --git a/user-guide/why-use-zotero.md b/user-guide/why-use-zotero.md index e42a0c71..34dc5c8c 100644 --- a/user-guide/why-use-zotero.md +++ b/user-guide/why-use-zotero.md @@ -2,12 +2,10 @@ title: 为什么使用 Zotero # order: 1 icon: heart -author: - - name: winding - url: https://github.com/windingwind - - name: northword - url: https://northword.cn - - name: 汪汪 +authors: + - winding + - northword + - 汪汪 date: 2023-04-19 22:27:07 updated: 2023-07-20 16:51:54 ---