-
Notifications
You must be signed in to change notification settings - Fork 847
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
重构:合并 zotero-chinese/styles 仓库变更 (#318)
* 重构:合并 zotero-chinese/styles 仓库变更 * 运行构建脚本 * 合并`@display/block`变更 * 修改CI判断条件 * 恢复误删除的样式 * clean code * md注释格式修改 * 更新readme * Fix [NO_PRINTED_FORM] * 更新readme * 更新文档 * 更新issue模板 * 修复文档中未闭合的HTML标签 * prettier json files * Remove eslint * 移除QQ群,Zotero ID 占位符 * 修复脚本处理note和测试引注的错误 * 读取summary和updated * 读取csl的author和contributor * Merge upstream/main to refactor
- Loading branch information
Showing
1,116 changed files
with
240,126 additions
and
164,489 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.csl linguist-vendored=false | ||
*.csl linguist-generated=false | ||
*.csl linguist-documentation=false | ||
*.csl linguist-detectable=true |
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
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,75 @@ | ||
name: 错误报告 | ||
description: 报告错误帮助我们改进 | ||
title: "错误:" | ||
labels: | ||
- bug | ||
# - Needs Triage | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: 涉及到的样式文件 | ||
description: | | ||
例如: | ||
- xxxx1.csl | ||
- xxxx2.csl | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: 描述错误 | ||
description: | | ||
清晰简洁地描述错误是什么,预期的结果是什么。 | ||
如果必要,请添加屏幕截图以帮助解释。 | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: 条目信息 | ||
description: | | ||
将出错的文献条目导出为 CSL-JSON 格式。 | ||
在 Zotero 中,选中条目,右击,导出,CSL-JSON 格式。 | ||
例如: | ||
```json | ||
[ | ||
{ | ||
"id": "doe1984his", | ||
"type": "book", | ||
"title": "His anonymous life", | ||
"author": [ | ||
{ | ||
"family": "Doe", | ||
"given": "John" | ||
} | ||
], | ||
"issued": { | ||
"date-parts": [ | ||
[ | ||
"1984" | ||
] | ||
] | ||
} | ||
} | ||
] | ||
``` | ||
value: | | ||
```json | ||
{} | ||
``` | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: 其他相关信息 | ||
description: | | ||
Links? References? Anything that will give us more context about the issue you are encountering! | ||
在此处添加有关该问题的其他信息。 | ||
validations: | ||
required: false |
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: 反馈关于网站的问题 | ||
url: https://github.com/zotero-chinese/website | ||
about: "前往 zotero-chinese/website 仓库参与讨论!" | ||
|
||
- name: 提问、求助、好想法 | ||
url: https://github.com/orgs/zotero-chinese/discussions/new/choose | ||
about: "前往 Discussion 参与讨论!" |
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,107 @@ | ||
name: 样式申请 | ||
description: 申请添加新的 CSL 样式 | ||
title: "新样式:" | ||
labels: | ||
- enhancement | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## 样式信息 | ||
- type: input | ||
attributes: | ||
label: 期刊 / 学校名称 | ||
placeholder: XX学报 / XX大学研究生学位论文 | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: 英文名称 | ||
placeholder: e.g. Acta Psychologica Sinica / Tsinghua University | ||
validations: | ||
required: true | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: 相关领域 | ||
options: | ||
- label: anthropology | ||
- label: astronomy | ||
- label: biology | ||
- label: botany | ||
- label: chemistry | ||
- label: communications | ||
- label: engineering | ||
- label: geography | ||
- label: geology | ||
- label: history | ||
- label: humanities | ||
- label: law | ||
- label: linguistics | ||
- label: literature | ||
- label: math | ||
- label: medicine | ||
- label: philosophy | ||
- label: physics | ||
- label: political_science | ||
- label: psychology | ||
- label: science | ||
- label: social_science | ||
- label: sociology | ||
- label: zoology | ||
|
||
- type: textarea | ||
attributes: | ||
label: 参考文献格式 | ||
description: 尽量提供**官网**的链接,或者上传官方的格式文件。 | ||
value: | | ||
- 官方文件链接: | ||
- 参考文献格式的更新日期:[例如 2020-07-30] | ||
- (学校)文件号:[例如“研生[2019]10号”] | ||
- (期刊)ISSN 号:[例如 0439-755X] | ||
validations: | ||
required: true | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
## 测试条目信息 | ||
如果参考文献格式与 GB/T 7714 差异较大,需要将其示例文献录入 Zotero 方便我们进行测试。 | ||
1. 加入 Zotero 群组 [Chinese CSL development](https://www.zotero.org/groups/4677213/chinese_csl_development); | ||
2. 提供 Zotero ID,我们会稍后将此账号修改为 admin 权限允许编辑; | ||
3. 获得编辑权限后,在“期刊”或“学位论文”的 collection 中以期刊/学校名称创建 subcollection; | ||
4. 将期刊/学校**官方**的示例文献全部录入,没有对应网页的文献需手动录入。不要修改其他 collection 的内容。 | ||
- type: input | ||
attributes: | ||
label: Zotero ID | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: 条目信息 | ||
description: | | ||
如果你没有把条目录入到上述群组,那可以把 CSL-JSON 数据贴在此处,或把文件拖拽到下面的输入框。 | ||
将文献条目导出为 CSL-JSON 格式:在 Zotero 中,选中条目,右击,导出,CSL-JSON 格式。 | ||
value: | | ||
```json | ||
{} | ||
``` | ||
validations: | ||
required: false | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
## 其他信息 | ||
- type: textarea | ||
attributes: | ||
label: 其他信息 | ||
placeholder: 例如:与国标有哪些差异 |
This file was deleted.
Oops, something went wrong.
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,22 @@ | ||
name: ci-pr | ||
|
||
on: | ||
# pull_request: | ||
# branches: | ||
# - main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
upload: | ||
name: 上传运行信息 | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'redleafnew/Chinese-STD-GB-T-7714-related-csl' && github.event_name == 'pull_request' | ||
steps: | ||
- name: 保存 PR 编号 | ||
run: | | ||
echo "${{ github.event.number }}" > pr_num | ||
- name: 上传 PR 编号 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: pr-num | ||
path: ./pr_num |
Oops, something went wrong.