Skip to content

Commit 1c80c6d

Browse files
authored
Create documentation.yml
1 parent a977f18 commit 1c80c6d

File tree

1 file changed

+167
-0
lines changed

1 file changed

+167
-0
lines changed
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
name: 📚 文档问题 / Documentation Issue
2+
description: 报告文档中的错误、缺失或改进建议 / Report documentation errors, missing content, or improvement suggestions
3+
assignees:
4+
- XinLi-cyber
5+
labels:
6+
- "type: documentation"
7+
- "status: waiting-for-triage"
8+
type: Task
9+
body:
10+
- type: markdown
11+
attributes:
12+
value: |
13+
## 感谢您帮助改进文档!/ Thank you for helping improve the documentation!
14+
15+
好的文档对项目至关重要。请详细描述文档问题,帮助我们提供更好的文档体验。
16+
Good documentation is crucial for the project. Please describe the documentation issue in detail to help us provide a better documentation experience.
17+
18+
- type: input
19+
id: summary
20+
attributes:
21+
label: 问题摘要 / Issue Summary
22+
description: 用一句话简要描述文档问题 / Briefly describe the documentation issue in one sentence
23+
placeholder: |
24+
例如:API文档中缺少参数说明
25+
Example: Missing parameter description in API documentation
26+
validations:
27+
required: true
28+
29+
- type: dropdown
30+
id: doc-type
31+
attributes:
32+
label: 文档类型 / Documentation Type
33+
description: 这个问题涉及哪种类型的文档?/ Which type of documentation does this issue involve?
34+
options:
35+
- "README文件 / README file"
36+
- "API文档 / API Documentation"
37+
- "安装指南 / Installation Guide"
38+
- "使用教程 / Usage Tutorial"
39+
- "配置说明 / Configuration Guide"
40+
- "故障排除 / Troubleshooting"
41+
- "贡献指南 / Contributing Guide"
42+
- "更新日志 / Changelog"
43+
- "代码注释 / Code Comments"
44+
- "其他 (请在下方说明) / Other (please specify below)"
45+
validations:
46+
required: true
47+
48+
- type: dropdown
49+
id: issue-type
50+
attributes:
51+
label: 问题类型 / Issue Type
52+
description: 这是什么类型的文档问题?/ What type of documentation issue is this?
53+
options:
54+
- "内容错误 / Content Error"
55+
- "信息缺失 / Missing Information"
56+
- "过时内容 / Outdated Content"
57+
- "格式问题 / Formatting Issue"
58+
- "链接失效 / Broken Link"
59+
- "翻译问题 / Translation Issue"
60+
- "结构改进 / Structure Improvement"
61+
- "示例代码问题 / Example Code Issue"
62+
- "其他 / Other"
63+
validations:
64+
required: true
65+
66+
- type: input
67+
id: location
68+
attributes:
69+
label: 文档位置 / Document Location
70+
description: |
71+
请提供具体的文档位置信息
72+
Please provide specific document location information
73+
placeholder: |
74+
例如:docs/api.md 第15行,或者 README.md 的"安装"部分
75+
Example: Line 15 in docs/api.md, or "Installation" section in README.md
76+
validations:
77+
required: true
78+
79+
- type: textarea
80+
id: current-content
81+
attributes:
82+
label: 当前内容 / Current Content
83+
description: |
84+
复制粘贴当前有问题的文档内容(如果适用)
85+
Copy and paste the current problematic documentation content (if applicable)
86+
placeholder: |
87+
请粘贴当前的文档内容...
88+
Please paste the current documentation content...
89+
render: markdown
90+
91+
- type: textarea
92+
id: issue-description
93+
attributes:
94+
label: 问题描述 / Issue Description
95+
description: |
96+
详细描述文档问题
97+
Describe the documentation issue in detail
98+
placeholder: |
99+
详细说明问题所在... / Explain the issue in detail...
100+
101+
例如 / Example:
102+
- 这段文档与实际功能不符
103+
- This documentation doesn't match the actual functionality
104+
- 缺少必要的参数说明
105+
- Missing necessary parameter descriptions
106+
validations:
107+
required: true
108+
109+
- type: textarea
110+
id: suggested-content
111+
attributes:
112+
label: 建议的内容 / Suggested Content
113+
description: |
114+
如果您有改进建议,请提供修正后的内容
115+
If you have improvement suggestions, please provide the corrected content
116+
placeholder: |
117+
建议的文档内容... / Suggested documentation content...
118+
render: markdown
119+
120+
- type: textarea
121+
id: impact
122+
attributes:
123+
label: 影响范围 / Impact
124+
description: |
125+
这个文档问题对用户有什么影响?
126+
What impact does this documentation issue have on users?
127+
placeholder: |
128+
这个问题可能导致... / This issue might cause...
129+
130+
例如 / Example:
131+
- 用户无法正确配置功能
132+
- Users cannot configure the feature correctly
133+
- 开发者集成时遇到困难
134+
- Developers encounter difficulties during integration
135+
136+
- type: textarea
137+
id: additional-context
138+
attributes:
139+
label: 额外信息 / Additional Context
140+
description: |
141+
添加任何其他有助于改进文档的信息,如截图、相关链接等
142+
Add any other information that might help improve the documentation, such as screenshots, related links, etc.
143+
144+
- type: checkboxes
145+
id: confirmations
146+
attributes:
147+
label: 确认事项 / Confirmations
148+
description: |
149+
提交前请确认以下事项
150+
Please confirm the following before submitting
151+
options:
152+
- label: |
153+
我已经搜索了现有的文档相关issues,确认这不是重复问题
154+
I have searched existing documentation-related issues and confirmed this is not a duplicate
155+
required: true
156+
- label: |
157+
我已经仔细阅读了相关的文档内容
158+
I have carefully read the relevant documentation content
159+
required: true
160+
- label: |
161+
我提供的信息准确完整
162+
The information I provided is accurate and complete
163+
required: true
164+
- label: |
165+
我愿意协助改进文档内容 (可选)
166+
I'm willing to help improve the documentation content (optional)
167+
required: false

0 commit comments

Comments
 (0)