Skip to content

Commit

Permalink
Fix navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-A-Rocha committed Jan 18, 2025
1 parent 3ecfb9e commit 6f6c2f7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 27 deletions.
9 changes: 0 additions & 9 deletions schemas/navigation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ $defs:
section:
type: "object"
required:
- title
- path
properties:
title:
type: "string"
description: "The title of the section."
path:
type: "string"
description: "The URL path for this section."
Expand All @@ -25,8 +21,3 @@ $defs:
category:
type: "string"
description: "The name of the category."
children:
type: "array"
description: "A list of subsections."
items:
$ref: "#/$defs/section"
14 changes: 8 additions & 6 deletions wiki/categories.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
- name: "Official guides"
articles:
path: "official-guides"
- name: "Guides"
subcategories:
- name: "Official guides"
articles:
path: "official-guides"

- name: "Community guides"
articles:
path: "community-guides"
- name: "Community guides"
articles:
path: "community-guides"

- name: "Lua reference"
subcategories:
Expand Down
14 changes: 2 additions & 12 deletions wiki/navigation.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
# Homepage
- path: "/"
title: "Multi Theft Auto: Wiki"
article: "introduction"

# Guides Index
- path: "/guides"
title: "Guides"
children:
- path: "/official"
title: "Official Guides"
category: "Official guides"

- path: "/community"
title: "Community Guides"
category: "Community guides"
category: "Guides"

# Reference Index
- title: "Lua API Reference"
path: "/lua"
- path: "/lua"
category: "Lua reference"

0 comments on commit 6f6c2f7

Please sign in to comment.