-
Notifications
You must be signed in to change notification settings - Fork 0
/
mashurc.schema.json
51 lines (51 loc) · 1.5 KB
/
mashurc.schema.json
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "A .mashurc config file",
"description": "A configuration file for MashuJS(https://github.com/EpokTarren/mashu) documentation generation",
"type": "object",
"properties": {
"prefix": {
"description": "Prefix to use when generating examples.",
"type": "string"
},
"input": {
"description": "Path to command locations.",
"type": "string"
},
"output": {
"description": "Path to docs folder.",
"type": "string"
},
"readme": {
"description": "Path to the readme.md for the bot as a whole and will export as index.md.",
"type": "string"
},
"descriptions": {
"description": "Will include a description beneath the title if one exists in the command categories folder as README.md.",
"type": "boolean"
},
"descriptionReplacer": {
"description": "Replace build path with src path to locate README files, [\"build\", \"src\"]",
"type": "array",
"maxItems": 2,
"minItems": 2
},
"titles": {
"description": "Wheter or not to include jekyll titles.",
"type": "boolean"
},
"permalink": {
"description": "Wheter or not to include jekyll permalinks.",
"type": "boolean"
},
"layout": {
"description": "Jekyll layout for command pages.",
"type": "string"
},
"homeHeader": {
"description": "Jekyll header options for index.md such as; \"layout: home\".",
"type": "string"
}
},
"required": ["prefix", "input", "output"]
}