@veluai/velu 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -80
- package/dist/cli.js +21 -21
- package/package.json +3 -2
- package/runtime/velu-ui/components/Accordion.jsx +64 -64
- package/runtime/velu-ui/components/ApiClient.jsx +121 -121
- package/runtime/velu-ui/components/ApiField.jsx +87 -87
- package/runtime/velu-ui/components/ApiPath.jsx +63 -63
- package/runtime/velu-ui/components/ApiSidebar.jsx +122 -122
- package/runtime/velu-ui/components/AskBar.jsx +71 -71
- package/runtime/velu-ui/components/Callout.jsx +114 -114
- package/runtime/velu-ui/components/Card.jsx +131 -131
- package/runtime/velu-ui/components/Chatbot.jsx +596 -596
- package/runtime/velu-ui/components/CodeBlock.jsx +375 -375
- package/runtime/velu-ui/components/Columns.jsx +56 -56
- package/runtime/velu-ui/components/ErrorCard.jsx +138 -138
- package/runtime/velu-ui/components/Field.jsx +81 -81
- package/runtime/velu-ui/components/Image.jsx +163 -163
- package/runtime/velu-ui/components/Logo.jsx +31 -0
- package/runtime/velu-ui/components/MethodBadge.jsx +31 -31
- package/runtime/velu-ui/components/NavSelect.jsx +108 -108
- package/runtime/velu-ui/components/PageFeedback.jsx +219 -219
- package/runtime/velu-ui/components/PageFooter.jsx +145 -213
- package/runtime/velu-ui/components/PageHeader.jsx +422 -414
- package/runtime/velu-ui/components/PageNav.jsx +77 -77
- package/runtime/velu-ui/components/PoweredBy.jsx +51 -51
- package/runtime/velu-ui/components/Prompt.jsx +115 -115
- package/runtime/velu-ui/components/Search.jsx +411 -366
- package/runtime/velu-ui/components/Sidebar.jsx +191 -191
- package/runtime/velu-ui/components/SocialLinks.jsx +90 -0
- package/runtime/velu-ui/components/Steps.jsx +65 -65
- package/runtime/velu-ui/components/ThemeToggle.jsx +48 -48
- package/runtime/velu-ui/components/Toc.jsx +537 -537
- package/runtime/velu-ui/components/TocBar.jsx +195 -195
- package/runtime/velu-ui/components/Tree.jsx +87 -87
- package/runtime/velu-ui/components/TryItBar.jsx +90 -90
- package/runtime/velu-ui/components/accordion.css +92 -92
- package/runtime/velu-ui/components/api.css +479 -479
- package/runtime/velu-ui/components/ask-bar.css +94 -94
- package/runtime/velu-ui/components/card.css +105 -105
- package/runtime/velu-ui/components/chatbot.css +617 -617
- package/runtime/velu-ui/components/code-block.css +263 -263
- package/runtime/velu-ui/components/docs-layout.css +784 -775
- package/runtime/velu-ui/components/field.css +82 -82
- package/runtime/velu-ui/components/image.css +237 -237
- package/runtime/velu-ui/components/nav-select.css +157 -157
- package/runtime/velu-ui/components/page-feedback.css +241 -241
- package/runtime/velu-ui/components/page-footer.css +130 -130
- package/runtime/velu-ui/components/page-header.css +557 -520
- package/runtime/velu-ui/components/page-nav.css +50 -50
- package/runtime/velu-ui/components/powered-by.css +86 -66
- package/runtime/velu-ui/components/prompt.css +99 -99
- package/runtime/velu-ui/components/search.css +307 -307
- package/runtime/velu-ui/components/sidebar.css +144 -144
- package/runtime/velu-ui/components/steps.css +77 -77
- package/runtime/velu-ui/components/theme-toggle.css +101 -101
- package/runtime/velu-ui/components/toc-bar.css +234 -234
- package/runtime/velu-ui/components/tree.css +49 -49
- package/runtime/velu-ui/index.js +48 -46
- package/runtime/velu-ui/lib/component-schemas.js +100 -100
- package/runtime/velu-ui/lib/copyText.js +64 -64
- package/runtime/velu-ui/lib/lang-icons.jsx +147 -147
- package/runtime/velu-ui/lib/prism-langs.js +957 -957
- package/runtime/velu-ui/lib/prism-loader.js +74 -74
- package/runtime/velu-ui/lib/resolveIcon.jsx +29 -29
- package/runtime/velu-ui/lib/scrollIntoNearestView.js +66 -66
- package/runtime/velu-ui/mdx-components.jsx +105 -105
- package/runtime/velu-ui/primitives/Cluster.jsx +49 -49
- package/runtime/velu-ui/primitives/Stack.jsx +63 -63
- package/runtime/velu-ui/primitives/Switcher.jsx +57 -57
- package/runtime/velu-ui/primitives/stack.css +3 -3
- package/runtime/velu-ui/primitives/switcher.css +25 -25
- package/runtime/velu-ui/styles.css +43 -43
- package/runtime/velu-ui/tokens.css +4 -4
- package/schema/velu.schema.json +281 -167
- package/src/lib/extract-mdx-error.js +170 -170
- package/src/lib/issues.js +159 -159
- package/src/lib/known-components.js +34 -34
- package/src/navigation.js +434 -434
- package/src/runtime/App.jsx +1506 -1476
- package/src/runtime/ErrorBoundary.jsx +54 -54
- package/src/runtime/client-entry.jsx +22 -22
- package/src/runtime/server-entry.jsx +16 -16
- package/src/template.html +48 -48
- package/templates/starter/ai-tools/claude-code.mdx +26 -26
- package/templates/starter/ai-tools/cursor.mdx +17 -17
- package/templates/starter/api-reference/endpoint/create.mdx +24 -24
- package/templates/starter/api-reference/endpoint/get.mdx +27 -27
- package/templates/starter/api-reference/introduction.mdx +28 -28
- package/templates/starter/development.mdx +19 -19
- package/templates/starter/essentials/code.mdx +29 -29
- package/templates/starter/essentials/images.mdx +29 -29
- package/templates/starter/essentials/markdown.mdx +25 -25
- package/templates/starter/essentials/navigation.mdx +39 -39
- package/templates/starter/essentials/settings.mdx +30 -30
- package/templates/starter/favicon.svg +6 -6
- package/templates/starter/index.mdx +31 -31
- package/templates/starter/quickstart.mdx +31 -31
- package/templates/starter/velu.json +33 -33
package/schema/velu.schema.json
CHANGED
|
@@ -1,167 +1,281 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://veludocs.com/velu.schema.json",
|
|
4
|
-
"title": "Velu project configuration",
|
|
5
|
-
"description": "Configuration for a Velu documentation project (velu.json). This schema is defined internally during iteration; it will be hosted at the $id URL so editors can validate + autocomplete velu.json files.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["name"],
|
|
8
|
-
"additionalProperties": false,
|
|
9
|
-
"properties": {
|
|
10
|
-
"$schema": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "URL of this JSON Schema, enabling editor validation + autocomplete."
|
|
13
|
-
},
|
|
14
|
-
"name": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"description": "Project name; usually the folder name it's contained in.",
|
|
17
|
-
"minLength": 1
|
|
18
|
-
},
|
|
19
|
-
"colors": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"description": "Accent colors. Maps onto the --accent-color token in base.css.",
|
|
22
|
-
"additionalProperties": false,
|
|
23
|
-
"required": ["primary"],
|
|
24
|
-
"properties": {
|
|
25
|
-
"primary": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "The accent color used across the UI (--accent-color)."
|
|
28
|
-
},
|
|
29
|
-
"light": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"description": "Light-mode accent override. Defaults to `primary`."
|
|
32
|
-
},
|
|
33
|
-
"dark": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Dark-mode accent override. Defaults to `primary`."
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"favicon": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"description": "Path to the favicon, relative to the project root."
|
|
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
|
-
"description": "
|
|
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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://veludocs.com/velu.schema.json",
|
|
4
|
+
"title": "Velu project configuration",
|
|
5
|
+
"description": "Configuration for a Velu documentation project (velu.json). This schema is defined internally during iteration; it will be hosted at the $id URL so editors can validate + autocomplete velu.json files.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["name"],
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"$schema": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "URL of this JSON Schema, enabling editor validation + autocomplete."
|
|
13
|
+
},
|
|
14
|
+
"name": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Project name; usually the folder name it's contained in.",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
},
|
|
19
|
+
"colors": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"description": "Accent colors. Maps onto the --accent-color token in base.css.",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": ["primary"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"primary": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "The accent color used across the UI (--accent-color)."
|
|
28
|
+
},
|
|
29
|
+
"light": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Light-mode accent override. Defaults to `primary`."
|
|
32
|
+
},
|
|
33
|
+
"dark": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Dark-mode accent override. Defaults to `primary`."
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"favicon": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Path to the favicon, relative to the project root."
|
|
42
|
+
},
|
|
43
|
+
"logo": {
|
|
44
|
+
"description": "Site logo shown in the header, replacing the name wordmark. A single path used in both themes, or per-theme light/dark images with an optional click-through href. Paths are relative to the project root.",
|
|
45
|
+
"oneOf": [
|
|
46
|
+
{
|
|
47
|
+
"type": "string",
|
|
48
|
+
"minLength": 1,
|
|
49
|
+
"description": "Logo path used in both light and dark mode."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"additionalProperties": false,
|
|
54
|
+
"required": ["light", "dark"],
|
|
55
|
+
"properties": {
|
|
56
|
+
"light": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"minLength": 1,
|
|
59
|
+
"description": "Logo shown in light mode."
|
|
60
|
+
},
|
|
61
|
+
"dark": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"minLength": 1,
|
|
64
|
+
"description": "Logo shown in dark mode."
|
|
65
|
+
},
|
|
66
|
+
"href": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Where clicking the logo links. Defaults to the site root."
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"navbar": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"description": "The header's top-right area: secondary links plus a primary CTA button.",
|
|
78
|
+
"properties": {
|
|
79
|
+
"links": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"description": "Secondary header links (to the left of the primary CTA).",
|
|
82
|
+
"items": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"required": ["href"],
|
|
86
|
+
"properties": {
|
|
87
|
+
"label": { "type": "string", "description": "Link text." },
|
|
88
|
+
"href": { "type": "string", "description": "Link URL." },
|
|
89
|
+
"icon": { "type": "string", "description": "lucide icon id." }
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"primary": {
|
|
94
|
+
"description": "The prominent CTA button at the far right.",
|
|
95
|
+
"oneOf": [
|
|
96
|
+
{
|
|
97
|
+
"type": "object",
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"required": ["type", "label", "href"],
|
|
100
|
+
"properties": {
|
|
101
|
+
"type": { "const": "button" },
|
|
102
|
+
"label": { "type": "string", "description": "Button text." },
|
|
103
|
+
"href": { "type": "string", "description": "Button URL." }
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"type": "object",
|
|
108
|
+
"additionalProperties": false,
|
|
109
|
+
"required": ["type", "href"],
|
|
110
|
+
"properties": {
|
|
111
|
+
"type": { "const": "github" },
|
|
112
|
+
"href": { "type": "string", "description": "GitHub repository URL." },
|
|
113
|
+
"label": { "type": "string", "description": "Button text (default \"GitHub\")." }
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"footer": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"additionalProperties": false,
|
|
123
|
+
"description": "Site footer. With `links`, a full footer section renders; with only `socials`, the icons sit next to the \"Powered by\" line instead.",
|
|
124
|
+
"properties": {
|
|
125
|
+
"socials": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"description": "Social links as platform → URL. Recognized icons: github, x (or twitter), youtube, linkedin.",
|
|
128
|
+
"additionalProperties": { "type": "string" }
|
|
129
|
+
},
|
|
130
|
+
"links": {
|
|
131
|
+
"type": "array",
|
|
132
|
+
"description": "Footer link columns (max 4).",
|
|
133
|
+
"maxItems": 4,
|
|
134
|
+
"items": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"additionalProperties": false,
|
|
137
|
+
"required": ["header", "items"],
|
|
138
|
+
"properties": {
|
|
139
|
+
"header": { "type": "string", "description": "Column heading." },
|
|
140
|
+
"items": {
|
|
141
|
+
"type": "array",
|
|
142
|
+
"items": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"additionalProperties": false,
|
|
145
|
+
"required": ["label", "href"],
|
|
146
|
+
"properties": {
|
|
147
|
+
"label": { "type": "string", "description": "Link text." },
|
|
148
|
+
"href": { "type": "string", "description": "Link URL." }
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"font": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"description": "Typography. Maps onto the --font-sans token in base.css.",
|
|
160
|
+
"additionalProperties": false,
|
|
161
|
+
"required": ["family"],
|
|
162
|
+
"properties": {
|
|
163
|
+
"family": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"description": "Google Font family to use (--font-sans)."
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"navigation": {
|
|
170
|
+
"$ref": "#/$defs/navContainer",
|
|
171
|
+
"description": "Site navigation. Mintlify-compatible: products > versions > languages > tabs > groups > pages. Switchable axes (product/version/language) become URL path prefixes; the default value of each is unprefixed. Dropdowns are intentionally unsupported."
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"$defs": {
|
|
175
|
+
"navContainer": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"additionalProperties": false,
|
|
178
|
+
"description": "A navigation container. Higher-precedence keys nest the lower ones (products contain versions contain languages contain tabs contain groups/pages).",
|
|
179
|
+
"properties": {
|
|
180
|
+
"products": { "type": "array", "items": { "$ref": "#/$defs/product" } },
|
|
181
|
+
"versions": { "type": "array", "items": { "$ref": "#/$defs/version" } },
|
|
182
|
+
"languages": { "type": "array", "items": { "$ref": "#/$defs/language" } },
|
|
183
|
+
"tabs": { "type": "array", "items": { "$ref": "#/$defs/tab" } },
|
|
184
|
+
"anchors": { "type": "array", "items": { "$ref": "#/$defs/anchor" } },
|
|
185
|
+
"groups": { "type": "array", "items": { "$ref": "#/$defs/group" } },
|
|
186
|
+
"pages": { "$ref": "#/$defs/pages" }
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"pages": {
|
|
190
|
+
"type": "array",
|
|
191
|
+
"description": "Ordered list of page paths (no extension, relative to the project root) and/or nested groups.",
|
|
192
|
+
"items": {
|
|
193
|
+
"oneOf": [
|
|
194
|
+
{ "type": "string" },
|
|
195
|
+
{ "$ref": "#/$defs/group" }
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"group": {
|
|
200
|
+
"type": "object",
|
|
201
|
+
"additionalProperties": false,
|
|
202
|
+
"required": ["group"],
|
|
203
|
+
"properties": {
|
|
204
|
+
"group": { "type": "string", "description": "Sidebar section heading." },
|
|
205
|
+
"icon": { "type": "string", "description": "lucide icon id." },
|
|
206
|
+
"expanded": { "type": "boolean", "description": "Start expanded." },
|
|
207
|
+
"root": { "type": "string", "description": "Landing page path for the group." },
|
|
208
|
+
"pages": { "$ref": "#/$defs/pages" }
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"tab": {
|
|
212
|
+
"type": "object",
|
|
213
|
+
"additionalProperties": false,
|
|
214
|
+
"required": ["tab"],
|
|
215
|
+
"properties": {
|
|
216
|
+
"tab": { "type": "string", "description": "Tab label (top nav)." },
|
|
217
|
+
"icon": { "type": "string" },
|
|
218
|
+
"href": { "type": "string", "description": "External/override link instead of in-site pages." },
|
|
219
|
+
"anchors": { "type": "array", "items": { "$ref": "#/$defs/anchor" } },
|
|
220
|
+
"groups": { "type": "array", "items": { "$ref": "#/$defs/group" } },
|
|
221
|
+
"pages": { "$ref": "#/$defs/pages" }
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"anchor": {
|
|
225
|
+
"type": "object",
|
|
226
|
+
"additionalProperties": false,
|
|
227
|
+
"required": ["anchor", "href"],
|
|
228
|
+
"properties": {
|
|
229
|
+
"anchor": { "type": "string", "description": "Anchor label (pinned sidebar link)." },
|
|
230
|
+
"icon": { "type": "string" },
|
|
231
|
+
"href": { "type": "string" },
|
|
232
|
+
"color": { "type": "string" }
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"product": {
|
|
236
|
+
"type": "object",
|
|
237
|
+
"additionalProperties": false,
|
|
238
|
+
"required": ["product"],
|
|
239
|
+
"properties": {
|
|
240
|
+
"product": { "type": "string", "description": "Product id (used for the URL slug)." },
|
|
241
|
+
"name": { "type": "string", "description": "Display name; defaults to `product`." },
|
|
242
|
+
"icon": { "type": "string" },
|
|
243
|
+
"color": { "type": "string" },
|
|
244
|
+
"default": { "type": "boolean", "description": "The default product is unprefixed in URLs." },
|
|
245
|
+
"versions": { "type": "array", "items": { "$ref": "#/$defs/version" } },
|
|
246
|
+
"languages": { "type": "array", "items": { "$ref": "#/$defs/language" } },
|
|
247
|
+
"tabs": { "type": "array", "items": { "$ref": "#/$defs/tab" } },
|
|
248
|
+
"anchors": { "type": "array", "items": { "$ref": "#/$defs/anchor" } },
|
|
249
|
+
"groups": { "type": "array", "items": { "$ref": "#/$defs/group" } },
|
|
250
|
+
"pages": { "$ref": "#/$defs/pages" }
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"version": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"additionalProperties": false,
|
|
256
|
+
"required": ["version"],
|
|
257
|
+
"properties": {
|
|
258
|
+
"version": { "type": "string", "description": "Version label (used for the URL slug)." },
|
|
259
|
+
"default": { "type": "boolean", "description": "The default version is unprefixed in URLs." },
|
|
260
|
+
"languages": { "type": "array", "items": { "$ref": "#/$defs/language" } },
|
|
261
|
+
"tabs": { "type": "array", "items": { "$ref": "#/$defs/tab" } },
|
|
262
|
+
"anchors": { "type": "array", "items": { "$ref": "#/$defs/anchor" } },
|
|
263
|
+
"groups": { "type": "array", "items": { "$ref": "#/$defs/group" } },
|
|
264
|
+
"pages": { "$ref": "#/$defs/pages" }
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"language": {
|
|
268
|
+
"type": "object",
|
|
269
|
+
"additionalProperties": false,
|
|
270
|
+
"required": ["language"],
|
|
271
|
+
"properties": {
|
|
272
|
+
"language": { "type": "string", "description": "Language code (used for the URL slug)." },
|
|
273
|
+
"default": { "type": "boolean", "description": "The default language is unprefixed in URLs." },
|
|
274
|
+
"tabs": { "type": "array", "items": { "$ref": "#/$defs/tab" } },
|
|
275
|
+
"anchors": { "type": "array", "items": { "$ref": "#/$defs/anchor" } },
|
|
276
|
+
"groups": { "type": "array", "items": { "$ref": "#/$defs/group" } },
|
|
277
|
+
"pages": { "$ref": "#/$defs/pages" }
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|