-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.json
More file actions
179 lines (179 loc) · 5.47 KB
/
template.json
File metadata and controls
179 lines (179 loc) · 5.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"decorations": [
{
"title": "Project Icon",
"required": true,
"component": "wrap-upload-file",
"description": "Please upload the project's icon.",
"attributes": {
"kindsOfFile": ["image/*"],
"placeholder": "The size of the icon must be 64x64px."
}
}
],
"sections": [
{
"title": "Project Name",
"hiddenTitle": false,
"required": true,
"replacement": true,
"multiple": false,
"component": "wrap-oneline-field",
"description": "Please type the project name.",
"kindsOfValues": ["plain"],
"formats": ["%s"],
"attributes": {
"placeholder": "Your project/repository name",
"maxlength": 50
},
"script": "getProjectName.js"
},
{
"title": "Short Description",
"hiddenTitle": true,
"required": true,
"replacement": false,
"multiple": false,
"component": "wrap-multiline-field",
"description": "Please write down a short description of the project.",
"kindsOfValues": ["plain"],
"formats": ["%s \n"],
"attributes": {
"placeholder": "You should include: \n- Motivation for this project (issues)\n- Your ideas for solving issues\n- Achievement",
"maxlength": 500
},
"script": "getShortDescription.js"
},
{
"title": "Badges",
"hiddenTitle": true,
"required": false,
"replacement": false,
"multiple": true,
"component": "wrap-oneline-field",
"description": "Please input the badges.",
"kindsOfValues": ["plain"],
"formats": ["%s\n"],
"attributes": {
"placeholder": "[](Jump URL)",
"maxlength": 300
},
"script": "getBadges.js"
},
{
"title": "Tags",
"hiddenTitle": false,
"required": true,
"replacement": false,
"multiple": true,
"component": "wrap-oneline-field",
"description": "Please input the tags related to the project.",
"kindsOfValues": ["plain"],
"formats": ["`%s` "],
"attributes": {
"placeholder": "Plain text without prefix"
}
},
{
"title": "Demo",
"hiddenTitle": false,
"required": false,
"replacement": false,
"multiple": true,
"component": "wrap-upload-file",
"description": "Please upload an image and input a description for a demonstration.",
"kindsOfValues": ["filepath", "plain"],
"formats": ["\n\n", "%s \n"],
"attributes": {
"kindsOfFile": ["image/png", "image/jpg", "image/gif"],
"placeholder": "You should include:\n- A screenshot during execution\n- How to reproduce it"
}
},
{
"title": "Advantages",
"hiddenTitle": false,
"required": true,
"replacement": false,
"multiple": false,
"component": "wrap-multiline-field",
"description": "Please describe the advantages of the project.",
"kindsOfValues": ["plain"],
"formats": ["%s \n"],
"attributes": {
"placeholder": "You should describe:\n- The benefits of your project to users compared to other projects"
}
},
{
"title": "Installation",
"hiddenTitle": false,
"required": true,
"replacement": false,
"multiple": false,
"component": "wrap-multiline-field",
"description": "Please describe how to install the project.",
"kindsOfValues": ["plain"],
"formats": ["%s \n"],
"attributes": {
"placeholder": "You should include:\n- The specific ways to implement it\n- The environment to run\n- The dependencies with implementation\n- The command or way to install"
}
},
{
"title": "Deployment",
"hiddenTitle": false,
"required": false,
"replacement": false,
"multiple": false,
"component": "wrap-multiline-field",
"description": "Please describe how to deploy the project.",
"kindsOfValues": ["plain"],
"formats": ["%s \n"],
"attributes": {
"placeholder": "You should include:\n- Any code\n- The procedures\n- The dependencies"
}
},
{
"title": "Minimal Example",
"hiddenTitle": false,
"required": true,
"replacement": false,
"multiple": false,
"component": "wrap-upload-file",
"description": "Please illustrate a minimal implementation.",
"kindsOfValues": ["filepath", "plain"],
"formats": ["\n\n", "%s \n"],
"attributes": {
"kindsOfFile": ["image/png", "image/jpg", "image/gif"],
"placeholder": "Your should include:\n- Any example code\n- How to run them\n- The result (attach an image if necessary)"
}
},
{
"title": "Contributors",
"hiddenTitle": false,
"required": true,
"replacement": false,
"multiple": true,
"component": "wrap-oneline-field",
"description": "Please input the contributors to the project.",
"kindsOfValues": ["plain"],
"formats": ["- %s\n"],
"attributes": {
"placeholder": "[Name](GitHub Profile URL)"
},
"script": "getContributors.js"
},
{
"title": "Users",
"hiddenTitle": false,
"required": false,
"replacement": false,
"multiple": true,
"component": "wrap-oneline-field",
"description": "Please input the users of the project.",
"kindsOfValues": ["plain"],
"formats": ["- %s\n"],
"attributes": {
"placeholder": "[Name](URL)"
}
}
]
}