Skip to content

Commit 6f6c2f7

Browse files
Fix navigation
1 parent 3ecfb9e commit 6f6c2f7

File tree

3 files changed

+10
-27
lines changed

3 files changed

+10
-27
lines changed

schemas/navigation.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ $defs:
99
section:
1010
type: "object"
1111
required:
12-
- title
1312
- path
1413
properties:
15-
title:
16-
type: "string"
17-
description: "The title of the section."
1814
path:
1915
type: "string"
2016
description: "The URL path for this section."
@@ -25,8 +21,3 @@ $defs:
2521
category:
2622
type: "string"
2723
description: "The name of the category."
28-
children:
29-
type: "array"
30-
description: "A list of subsections."
31-
items:
32-
$ref: "#/$defs/section"

wiki/categories.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
- name: "Official guides"
2-
articles:
3-
path: "official-guides"
1+
- name: "Guides"
2+
subcategories:
3+
- name: "Official guides"
4+
articles:
5+
path: "official-guides"
46

5-
- name: "Community guides"
6-
articles:
7-
path: "community-guides"
7+
- name: "Community guides"
8+
articles:
9+
path: "community-guides"
810

911
- name: "Lua reference"
1012
subcategories:

wiki/navigation.yaml

+2-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
# Homepage
22
- path: "/"
3-
title: "Multi Theft Auto: Wiki"
43
article: "introduction"
54

65
# Guides Index
76
- path: "/guides"
8-
title: "Guides"
9-
children:
10-
- path: "/official"
11-
title: "Official Guides"
12-
category: "Official guides"
13-
14-
- path: "/community"
15-
title: "Community Guides"
16-
category: "Community guides"
7+
category: "Guides"
178

189
# Reference Index
19-
- title: "Lua API Reference"
20-
path: "/lua"
10+
- path: "/lua"
2111
category: "Lua reference"

0 commit comments

Comments
 (0)