Skip to content

Commit 3e99773

Browse files
Update navigation
1 parent ef4731a commit 3e99773

File tree

2 files changed

+21
-26
lines changed

2 files changed

+21
-26
lines changed

schemas/navigation.yaml

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

128
$defs:
139
section:

wiki/navigation.yaml

+18-19
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
1-
wiki:
2-
# Homepage
3-
- path: "/"
4-
title: "Multi Theft Auto: Wiki"
5-
article: "introduction"
1+
# Homepage
2+
- path: "/"
3+
title: "Multi Theft Auto: Wiki"
4+
article: "introduction"
65

7-
# Guides Index
8-
- path: "/guides"
9-
title: "Guides"
10-
children:
11-
- path: "/guides/official"
12-
title: "Official Guides"
13-
category: "Official guides"
6+
# Guides Index
7+
- path: "/guides"
8+
title: "Guides"
9+
children:
10+
- path: "/guides/official"
11+
title: "Official Guides"
12+
category: "Official guides"
1413

15-
- path: "/guides/community"
16-
title: "Community Guides"
17-
category: "Community guides"
14+
- path: "/guides/community"
15+
title: "Community Guides"
16+
category: "Community guides"
1817

19-
# Reference Index
20-
- title: "Lua API Reference"
21-
path: "/lua"
22-
category: "Lua reference"
18+
# Reference Index
19+
- title: "Lua API Reference"
20+
path: "/lua"
21+
category: "Lua reference"

0 commit comments

Comments
 (0)