Skip to content

Commit

Permalink
Del navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-A-Rocha committed Jan 19, 2025
1 parent 33c2167 commit aa184f3
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 38 deletions.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"yaml.schemas": {
"schemas/categories.yaml": "/wiki/categories.yaml",
"schemas/navigation.yaml": "/wiki/navigation.yaml",
"schemas/function.yaml": "/functions/**/*",
"schemas/article.yaml": "/article/**/*",
"file:///c%3A/Users/froch/Documents/_MTASA/mtasa-wiki/schemas/function.yaml": "file:///c%3A/Users/froch/Documents/_MTASA/mtasa-wiki/schemas/function.yaml",
Expand Down
2 changes: 1 addition & 1 deletion schemas/article.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$schema: "https://json-schema.org/draft/2020-12/schema"
$id: "/schemas/navigation"
$id: "/schemas/article"
title: "Wiki Article Schema"
type: "object"
required:
Expand Down
23 changes: 0 additions & 23 deletions schemas/navigation.yaml

This file was deleted.

1 change: 0 additions & 1 deletion tools/validate.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@echo off

.\tools\yajsv.exe -s schemas/navigation.yaml "wiki/navigation.yaml"
.\tools\yajsv.exe -s schemas/categories.yaml "wiki/categories.yaml"

for /r "functions" %%f in (*.yaml) do (
Expand Down
1 change: 0 additions & 1 deletion tools/validate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

tools/yajsv -s schemas/navigation.yaml wiki/navigation.yaml
tools/yajsv -s schemas/categories.yaml wiki/categories.yaml

find 'functions/' -name '*.yaml' -type f -print0 | xargs -0 -I {} tools/yajsv -s schemas/function.yaml {}
Expand Down
11 changes: 0 additions & 11 deletions wiki/navigation.yaml

This file was deleted.

0 comments on commit aa184f3

Please sign in to comment.