diff --git a/schemas/navigation.yaml b/schemas/navigation.yaml index c0fdeca..fccd6c4 100644 --- a/schemas/navigation.yaml +++ b/schemas/navigation.yaml @@ -1,13 +1,9 @@ $schema: "https://json-schema.org/draft/2020-12/schema" $id: "/schemas/navigation" title: "Wiki Navigation Schema" -type: "object" - -properties: - wiki: - type: "array" - items: - $ref: "#/$defs/section" +type: "array" +items: + $ref: "#/$defs/section" $defs: section: diff --git a/wiki/navigation.yaml b/wiki/navigation.yaml index 4bdd70b..4143a24 100644 --- a/wiki/navigation.yaml +++ b/wiki/navigation.yaml @@ -1,22 +1,21 @@ -wiki: - # Homepage - - path: "/" - title: "Multi Theft Auto: Wiki" - article: "introduction" +# Homepage +- path: "/" + title: "Multi Theft Auto: Wiki" + article: "introduction" - # Guides Index - - path: "/guides" - title: "Guides" - children: - - path: "/guides/official" - title: "Official Guides" - category: "Official guides" +# Guides Index +- path: "/guides" + title: "Guides" + children: + - path: "/guides/official" + title: "Official Guides" + category: "Official guides" - - path: "/guides/community" - title: "Community Guides" - category: "Community guides" + - path: "/guides/community" + title: "Community Guides" + category: "Community guides" - # Reference Index - - title: "Lua API Reference" - path: "/lua" - category: "Lua reference" +# Reference Index +- title: "Lua API Reference" + path: "/lua" + category: "Lua reference"