diff --git a/docs/hooks/shared/EntityRemoved.md b/docs/hooks/shared/EntityRemoved.md index be9b17b423..73f92ecc61 100644 --- a/docs/hooks/shared/EntityRemoved.md +++ b/docs/hooks/shared/EntityRemoved.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/EntityRemoved" - url "server/EntityRemoved" + url: "server/EntityRemoved" - label: "client/EntityRemoved" url: "client/EntityRemoved" --- diff --git a/docs/hooks/shared/FinishMove.md b/docs/hooks/shared/FinishMove.md index aa1fab16d7..df9f525c5c 100644 --- a/docs/hooks/shared/FinishMove.md +++ b/docs/hooks/shared/FinishMove.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/FinishMove" - url "server/FinishMove" + url: "server/FinishMove" - label: "client/FinishMove" url: "client/FinishMove" --- diff --git a/docs/hooks/shared/LevelShutdown.md b/docs/hooks/shared/LevelShutdown.md index 8703312ef2..e6e84c7a56 100644 --- a/docs/hooks/shared/LevelShutdown.md +++ b/docs/hooks/shared/LevelShutdown.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/LevelShutdown" - url "server/LevelShutdown" + url: "server/LevelShutdown" - label: "client/LevelShutdown" url: "client/LevelShutdown" --- diff --git a/docs/hooks/shared/OnEntityCreated.md b/docs/hooks/shared/OnEntityCreated.md index 194ef24ddc..f4525818c2 100644 --- a/docs/hooks/shared/OnEntityCreated.md +++ b/docs/hooks/shared/OnEntityCreated.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/OnEntityCreated" - url "server/OnEntityCreated" + url: "server/OnEntityCreated" - label: "client/OnEntityCreated" url: "client/OnEntityCreated" --- diff --git a/docs/hooks/shared/PlayerPostThink.md b/docs/hooks/shared/PlayerPostThink.md index 5fb57c6679..cae9ac43df 100644 --- a/docs/hooks/shared/PlayerPostThink.md +++ b/docs/hooks/shared/PlayerPostThink.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/PlayerPostThink" - url "server/PlayerPostThink" + url: "server/PlayerPostThink" - label: "client/PlayerPostThink" url: "client/PlayerPostThink" --- diff --git a/docs/hooks/shared/PlayerTraceAttack.md b/docs/hooks/shared/PlayerTraceAttack.md index ab56a06873..4306f6bfb2 100644 --- a/docs/hooks/shared/PlayerTraceAttack.md +++ b/docs/hooks/shared/PlayerTraceAttack.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/PlayerTraceAttack" - url "server/PlayerTraceAttack" + url: "server/PlayerTraceAttack" - label: "client/PlayerTraceAttack" url: "client/PlayerTraceAttack" --- diff --git a/docs/hooks/shared/SetupMove.md b/docs/hooks/shared/SetupMove.md index 03cc0b926e..746931f3d4 100644 --- a/docs/hooks/shared/SetupMove.md +++ b/docs/hooks/shared/SetupMove.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/SetupMove" - url "server/SetupMove" + url: "server/SetupMove" - label: "client/SetupMove" url: "client/SetupMove" --- diff --git a/docs/hooks/shared/StartCommand.md b/docs/hooks/shared/StartCommand.md index d13e038670..643d93d69b 100644 --- a/docs/hooks/shared/StartCommand.md +++ b/docs/hooks/shared/StartCommand.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/StartCommand" - url "server/StartCommand" + url: "server/StartCommand" - label: "client/StartCommand" url: "client/StartCommand" --- diff --git a/docs/hooks/shared/Think.md b/docs/hooks/shared/Think.md index 38a7598ae1..4af8c51788 100644 --- a/docs/hooks/shared/Think.md +++ b/docs/hooks/shared/Think.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/Think" - url "server/Think" + url: "server/Think" - label: "client/Think" url: "client/Think" --- diff --git a/docs/hooks/shared/Tick.md b/docs/hooks/shared/Tick.md index c3ecaa0df2..9791df3cfa 100644 --- a/docs/hooks/shared/Tick.md +++ b/docs/hooks/shared/Tick.md @@ -9,7 +9,7 @@ tags: lua: redirects: - label: "server/Tick" - url "server/Tick" + url: "server/Tick" - label: "client/Tick" url: "client/Tick" --- diff --git a/tools/docs-build-hooks.js b/tools/docs-build-hooks.js index 2b141326d1..2b7b7438f6 100644 --- a/tools/docs-build-hooks.js +++ b/tools/docs-build-hooks.js @@ -260,7 +260,7 @@ function writeHookToFile(hook) { // will add a file that simply redirects to the client- and server-specific hooks. if (hooksTouchedThisRun.has(hook.name)) { const otherHook = hooksTouchedThisRun.get(hook.name); - let redirects = `- label: ${wrapQuotes(hook.realm + '/' + hook.name)}\n url ${wrapQuotes(hook.realm + '/' + hook.name)}`; + let redirects = `- label: ${wrapQuotes(hook.realm + '/' + hook.name)}\n url: ${wrapQuotes(hook.realm + '/' + hook.name)}`; redirects += `\n - label: ${wrapQuotes(otherHook.realm + '/' + otherHook.name)}\n url: ${wrapQuotes(otherHook.realm + '/' + otherHook.name)}`; const redirectFilePath = path.join(outputDir, 'shared', `${hook.name}.md`);