From 8d60b8dadabd4fb68152cde9e092fc61fe6f9d3a Mon Sep 17 00:00:00 2001 From: stratself Date: Fri, 11 Sep 2026 08:38:58 +0000 Subject: [PATCH] docs: Stricter shortcut link redirections Avoids some recursion and 404 endpoint issues. Serves as good examples for future additions. The "Intermittent federation failures to a specific server" section is now ID'd as #intermittent for easier reachability. --- docs/troubleshooting.mdx | 2 +- rspress.config.ts | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/troubleshooting.mdx b/docs/troubleshooting.mdx index a8955d4fd..025e69bd7 100644 --- a/docs/troubleshooting.mdx +++ b/docs/troubleshooting.mdx @@ -64,7 +64,7 @@ ### DNS server overload Follow the [**DNS tuning guide**](./guides/dns) for details on setting it up. -### Intermittent federation failures to a specific server +### Intermittent federation failures to a specific server {#intermittent} There may be circumstances where servers fail to connect to each other, probably due to a bad DNS cache. In such cases, issuing `!admin debug ping ` would return some errors, and `!admin query resolver cache ` would return a wrong destination endpoint. diff --git a/rspress.config.ts b/rspress.config.ts index b9db73674..2614e9c3b 100644 --- a/rspress.config.ts +++ b/rspress.config.ts @@ -65,16 +65,13 @@ export default defineConfig({ }), pluginClientRedirects({ redirects: [{ - from: '/configuration/examples', + from: '^/config_reference$', to: '/reference/config' }, { - from: '/admin_reference', + from: '^/admin_reference$', to: '/reference/admin' }, { - from: '/server_reference', - to: '/reference/server' - }, { - from: '/community$', + from: '^/community$', to: '/community/guidelines' }, { from: "^/turn$", @@ -83,7 +80,7 @@ export default defineConfig({ from: "^/livekit$", to: "/calls/livekit", }, { - from: "^/dns", + from: "^/dns$", to: "/guides/dns", }, { from: "^/source(|_code)$",