Skip to content

Commit

Permalink
Update navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-A-Rocha committed Jan 18, 2025
1 parent ef4731a commit 3e99773
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 26 deletions.
10 changes: 3 additions & 7 deletions schemas/navigation.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
37 changes: 18 additions & 19 deletions wiki/navigation.yaml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 3e99773

Please sign in to comment.