mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
fix: fix link validation
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user