Skip to content

Commit

Permalink
fix: docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Jan 4, 2025
1 parent 2c4d60a commit 5738972
Show file tree
Hide file tree
Showing 14 changed files with 68 additions and 68 deletions.
10 changes: 5 additions & 5 deletions packages/lib-modules/scripts/buildBuiltinJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ export function Module() {
return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/chatBridge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/dailyRewards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/economyUtils.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/geoBlock.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/gimme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
6 changes: 3 additions & 3 deletions packages/web-docs/docs/modules/helpers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function Commands({ commands }) {
if (!commands.length) return null;
if (!commands || !commands.length) return null;
return (
<>
<h4>Commands</h4>
Expand All @@ -15,7 +15,7 @@ export function Commands({ commands }) {
}

export function Hooks({ hooks }) {
if (!hooks.length) return null;
if (!hooks || !hooks.length) return null;
return (
<>
<h4>Hooks</h4>
Expand All @@ -31,7 +31,7 @@ export function Hooks({ hooks }) {
}

export function CronJobs({ cronJobs }) {
if (!cronJobs.length) return null;
if (!cronJobs || !cronJobs.length) return null;
return (
<>
<h4>Cron Jobs</h4>
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/highPingKicker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/lottery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/playerOnboarding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/serverMessages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/teleports.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/timedShutdown.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-docs/docs/modules/utils.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ export function Module() {

return (
<div>
<p>{mod.description}</p>
<Commands commands={mod.commands} />
<CronJobs cronJobs={mod.cronJobs} />
<Hooks hooks={mod.hooks} />
<Config configSchema={mod.configSchema} />
<p>{mod.versions[0].description}</p>
<Commands commands={mod.versions[0].commands} />
<CronJobs cronJobs={mod.versions[0].cronJobs} />
<Hooks hooks={mod.versions[0].hooks} />
<Config configSchema={mod.versions[0].configSchema} />
</div>
)
}
Expand Down

0 comments on commit 5738972

Please sign in to comment.