From 36746cf1585539f125d8f726f084179ffc54329d Mon Sep 17 00:00:00 2001 From: Charles Howard <96023061+charlesrhoward@users.noreply.github.com> Date: Tue, 18 Aug 2026 15:05:27 -0400 Subject: [PATCH] test(docs): guard support repository link --- content/docs/support.mdx | 2 +- tests/execution-environments-docs.test.mjs | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/content/docs/support.mdx b/content/docs/support.mdx index 9d102a0..57898c7 100644 --- a/content/docs/support.mdx +++ b/content/docs/support.mdx @@ -23,7 +23,7 @@ repo coverage, routing, execution, and local CLI state. | A slash command does not behave as expected | [Slash Commands](/cli/commands), [Slash Commands guide](/cli/guides/slash-commands), and [Custom Slash Commands](/configure-and-extend/custom-slash-commands) | | You need the API error shape or status code | [API Quickstart](/reference/api#quickstart) and [API Errors](/reference/api#errors) | | You need to know what is safe to share | [Security and Data Handling](/reference/security-and-data-handling) | -| A doc link or claim looks wrong | [Docs source](https://github.com/webrenew/mogplex-docs) | +| A doc link or claim looks wrong | [Docs source](https://github.com/Mogplex/docs) | For a longer decision tree, use [Troubleshooting](/guides/troubleshooting). diff --git a/tests/execution-environments-docs.test.mjs b/tests/execution-environments-docs.test.mjs index 5b8a0a8..82bdc91 100644 --- a/tests/execution-environments-docs.test.mjs +++ b/tests/execution-environments-docs.test.mjs @@ -178,3 +178,10 @@ test('internal links across public docs resolve to existing routes', async () => `expected to check more than 100 internal docs routes, checked ${checkedRoutes}`, ); }); + +test('support links to the current docs repository', async () => { + const support = await read('content/docs/support.mdx'); + + assert.doesNotMatch(support, /github\.com\/webrenew\/mogplex-docs/); + assert.match(support, /github\.com\/Mogplex\/docs/); +});