Skip to content

Commit 83fda70

Browse files
Strokkur424powercasgamerolijeffers0nzlataovceTimongcraft
authored
feat: Improve Brigadier Documentation (#507)
Co-authored-by: powercas_gamer <[email protected]> Co-authored-by: Ollie <[email protected]> Co-authored-by: Matouš Kučera <[email protected]> Co-authored-by: Timon Seidel <[email protected]>
1 parent db5dc59 commit 83fda70

File tree

101 files changed

+2651
-302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+2651
-302
lines changed

_redirects

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@
77
/paper/per-world-configuration /paper/configuration
88
/paper/configuration /paper/reference/configuration
99
/paper/reference/vanilla-command-permissions /paper/reference/permissions
10-
/paper/dev/commands /paper/dev/command-api/commands
10+
/paper/dev/commands /paper/dev/command-api/basics/introduction
11+
/paper/dev/command-api/commands /paper/dev/command-api/basics/introduction
12+
/paper/dev/command-api/arguments /paper/dev/command-api/basics/arguments-and-literals

config/sidebar.paper.ts

100644100755
+39-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,45 @@ const paper: SidebarsConfig = {
131131
type: "category",
132132
label: "Brigadier Command API",
133133
collapsed: true,
134-
items: ["dev/api/command-api/commands", "dev/api/command-api/arguments"],
134+
items: [
135+
{
136+
type: "category",
137+
label: "Basics",
138+
collapsed: true,
139+
items: [
140+
"dev/api/command-api/basics/introduction",
141+
"dev/api/command-api/basics/command-tree",
142+
"dev/api/command-api/basics/arguments-and-literals",
143+
"dev/api/command-api/basics/executors",
144+
"dev/api/command-api/basics/registration",
145+
"dev/api/command-api/basics/requirements",
146+
],
147+
},
148+
{
149+
type: "category",
150+
label: "Arguments",
151+
collapsed: true,
152+
items: [
153+
"dev/api/command-api/arguments/minecraft",
154+
"dev/api/command-api/arguments/location",
155+
"dev/api/command-api/arguments/entity-player",
156+
"dev/api/command-api/arguments/registry",
157+
"dev/api/command-api/arguments/paper",
158+
"dev/api/command-api/arguments/enums",
159+
"dev/api/command-api/arguments/predicate",
160+
"dev/api/command-api/arguments/adventure",
161+
],
162+
},
163+
{
164+
type: "category",
165+
label: "Misc",
166+
collapsed: true,
167+
items: [
168+
"dev/api/command-api/misc/comparison-bukkit-brigadier",
169+
"dev/api/command-api/misc/basic-command",
170+
],
171+
},
172+
],
135173
},
136174
{
137175
type: "category",

docs/paper/dev/api/command-api/arguments.mdx

-182
This file was deleted.

0 commit comments

Comments
 (0)