Skip to content

Commit

Permalink
Fix structure.yaml schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-A-Rocha committed Jan 18, 2025
1 parent fd8c8e2 commit fc7245c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion navigation/structure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ wiki:
- title: "Introduction to Scripting"
path: "/guides/introduction-to-scripting"
article: "guides/introduction-to-scripting"

# Reference Index
- title: "Lua API Reference"
path: "/lua"
Expand Down
9 changes: 5 additions & 4 deletions schemas/structure.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
$schema: "https://json-schema.org/draft/2020-12/schema"
$id: "/schemas/structure"

title: "Wiki Navigation Schema"
type: "array"
items:
$ref: "#/$defs/section"
type: "object"

properties:
wiki:
$ref: "#/$defs/section"

$defs:
section:
Expand Down

0 comments on commit fc7245c

Please sign in to comment.