-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
schema.json
103 lines (103 loc) · 3.26 KB
/
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
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/$defs/ConfigurationSchema",
"$defs": {
"ConfigurationSchema": {
"type": "object",
"required": [],
"properties": {
"$schema": {
"type": "string"
},
"projectHomepage": {
"type": "string",
"description": "Will link to the project homepage from the Auxiliary Links of the generated documentation."
},
"srcDir": {
"type": "string",
"description": "The directory in which docgen will search for TypeScript files to parse.",
"default": "src"
},
"outDir": {
"type": "string",
"description": "The directory to which docgen will generate its output markdown documents.",
"default": "docs"
},
"theme": {
"type": "string",
"description": "The theme that docgen will specify should be used for GitHub Docs in the generated _config.yml file.",
"default": "mikearnaldi/just-the-docs"
},
"enableSearch": {
"type": "boolean",
"description": "Whether or not search should be enabled for GitHub Docs in the generated _config.yml file.",
"default": true
},
"enforceDescriptions": {
"type": "boolean",
"description": "Whether or not descriptions for each module export should be required.",
"default": false
},
"enforceExamples": {
"type": "boolean",
"description": "Whether or not @example tags for each module export should be required. (Note: examples will not be enforced in module documentation)",
"default": false
},
"enforceVersion": {
"type": "boolean",
"description": "Whether or not @since tags for each module export should be required.",
"default": true
},
"exclude": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of glob strings specifying files that should be excluded from the documentation.",
"default": []
},
"parseCompilerOptions": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [],
"properties": {},
"patternProperties": {
"": {
"$id": "/schemas/unknown",
"title": "unknown"
}
}
}
],
"description": "tsconfig for parsing options (or path to a tsconfig)",
"default": {}
},
"examplesCompilerOptions": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [],
"properties": {},
"patternProperties": {
"": {
"$id": "/schemas/unknown",
"title": "unknown"
}
}
}
],
"description": "tsconfig for the examples options (or path to a tsconfig)",
"default": {}
}
},
"additionalProperties": false
}
}
}