Skip to content

Commit fc7245c

Browse files
Fix structure.yaml schema
1 parent fd8c8e2 commit fc7245c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

navigation/structure.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ wiki:
1414
- title: "Introduction to Scripting"
1515
path: "/guides/introduction-to-scripting"
1616
article: "guides/introduction-to-scripting"
17-
17+
1818
# Reference Index
1919
- title: "Lua API Reference"
2020
path: "/lua"

schemas/structure.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
$schema: "https://json-schema.org/draft/2020-12/schema"
22
$id: "/schemas/structure"
3-
43
title: "Wiki Navigation Schema"
5-
type: "array"
6-
items:
7-
$ref: "#/$defs/section"
4+
type: "object"
5+
6+
properties:
7+
wiki:
8+
$ref: "#/$defs/section"
89

910
$defs:
1011
section:

0 commit comments

Comments
 (0)