diff --git a/astro.config.mjs b/astro.config.mjs index 9b0c44b14..7ec3a67e4 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -4,8 +4,8 @@ import starlightBlog from "starlight-blog"; import tailwind from "@astrojs/tailwind"; import starlightTypeDoc, { typeDocSidebarGroup } from "starlight-typedoc"; import lunaria from "@lunariajs/starlight"; -import starlightLinksValidator from 'starlight-links-validator'; import { GITHUB_URL, DISCORD_URL } from "./src/utils/consts"; +// import starlightLinksValidator from 'starlight-links-validator'; export default defineConfig({ integrations: [ @@ -130,9 +130,10 @@ export default defineConfig({ sidebar: { collapsed: true }, }), lunaria(), - starlightLinksValidator({ - exclude: ['/v3/api'], - }), + // Uncomment to enable links validation when building locally; netlify crashes for API routes + // starlightLinksValidator({ + // exclude: ['/plugins'], + // }), ], }), tailwind(), diff --git a/src/content/docs/blog/2.5.0.md b/src/content/docs/blog/2.5.0.md index 2bf75d002..26c497392 100644 --- a/src/content/docs/blog/2.5.0.md +++ b/src/content/docs/blog/2.5.0.md @@ -23,7 +23,7 @@ date: 2023-01-12 ### Deprecations -- `CommandPlugin` and `EventPlugin` have been renamed to [InitPlugin](/v3/api/interfaces/initplugin) and [ControlPlugin](/v3/docs/api/interfaces/controlplugin), respectively +- `CommandPlugin` and `EventPlugin` have been renamed to [InitPlugin](/v3/api/interfaces/initplugin) and [ControlPlugin](/v3/api/interfaces/controlplugin), respectively ### Reason diff --git a/src/content/docs/v3/guide/walkthrough/cli.mdx b/src/content/docs/v3/guide/walkthrough/cli.mdx index 7d4e7e87b..c5ff5f420 100644 --- a/src/content/docs/v3/guide/walkthrough/cli.mdx +++ b/src/content/docs/v3/guide/walkthrough/cli.mdx @@ -40,4 +40,4 @@ To install extra utilities into your project, run: sern extra ``` -We have a more in depth [guide](/v3/cli/about) on the CLI if you're interested in learning more. +We have a more in depth [guide](/cli/about) on the CLI if you're interested in learning more. diff --git a/src/content/docs/v3/guide/walkthrough/dependency-injection.mdx b/src/content/docs/v3/guide/walkthrough/dependency-injection.mdx index aeb8eda55..2596670cb 100644 --- a/src/content/docs/v3/guide/walkthrough/dependency-injection.mdx +++ b/src/content/docs/v3/guide/walkthrough/dependency-injection.mdx @@ -70,7 +70,7 @@ Each sern built dependency must implement its contracts: - `@sern/logger`: Logging data → [`Logging`](/v3/api/interfaces/logging) - `@sern/errors`: Handling errors and lifetime → [`ErrorHandling`](/v3/api/interfaces/errorhandling) -- `@sern/modules`: Managing all command modules → [`ModuleManager`](/v3/api/interfaces/modulemanager) +- `@sern/modules`: Managing all command modules → `ModuleManager` - `@sern/emitter`: The key to emit events and occurences in a project → [`Emitter`](/v3/api/interfaces/emitter) You may also add disposers so that when the application crashes, the targeted dependency calls that function. diff --git a/src/content/docs/v3/guide/walkthrough/services.mdx b/src/content/docs/v3/guide/walkthrough/services.mdx index e324563d5..17b4ff9be 100644 --- a/src/content/docs/v3/guide/walkthrough/services.mdx +++ b/src/content/docs/v3/guide/walkthrough/services.mdx @@ -31,7 +31,7 @@ Some keys in `Dependencies` are special and are used by sern internally: - `@sern/client`: Your Discord client. → [`Emitter`](/v3/api/interfaces/emitter) - `@sern/logger`: Logging data → [`Logging`](/v3/api/interfaces/logging) - `@sern/errors`: Handling errors and lifetime → [`ErrorHandling`](/v3/api/interfaces/errorhandling) -- `@sern/modules`: Managing all command modules → [`ModuleManager`](/v3/api/interfaces/modulemanager) +- `@sern/modules`: Managing all command modules → `ModuleManager` - `@sern/emitter`: The key to emit events and occurences in a project → [`Emitter`](/v3/api/interfaces/emitter) ## Usage