Skip to content

Commit a27d760

Browse files
added redirect + fixed formatting
1 parent 1a3eb61 commit a27d760

File tree

4 files changed

+4
-21
lines changed

4 files changed

+4
-21
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
.DS_Store
88
npm-debug.log*
99
.pnp.*
10-
/.meta
10+
/.meta
11+
.prettierrc

_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
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/commands-api/commands

config/sidebar.paper.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,7 @@ const paper: SidebarsConfig = {
129129
type: "category",
130130
label: "Command API (Brigadier)",
131131
collapsed: true,
132-
items: [
133-
"dev/api/commands-api/commands",
134-
"dev/api/commands-api/arguments"
135-
]
132+
items: ["dev/api/commands-api/commands", "dev/api/commands-api/arguments"],
136133
},
137134
{
138135
type: "category",

docusaurus.config.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -279,20 +279,4 @@ const config: Config = {
279279
},
280280
};
281281

282-
module.exports = {
283-
plugins: [
284-
[
285-
'@docusaurus/plugin-client-redirects',
286-
{
287-
redirects: [
288-
{
289-
to: '/dev/commands-api/commands',
290-
from: '/dev/api/commands',
291-
},
292-
],
293-
},
294-
],
295-
],
296-
};
297-
298282
export = config;

0 commit comments

Comments
 (0)