From 3ab2a61b1289b288a9d295692e3e1dfc7cbfdd23 Mon Sep 17 00:00:00 2001 From: Hyu Date: Tue, 4 Aug 2026 19:56:41 +0800 Subject: [PATCH] fix(seo): stop advertising missing alternate sitemap (#111) Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com> --- robots.txt | 1 - tests/seo.test.mjs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/robots.txt b/robots.txt index b2f247c19..1cc3bc280 100644 --- a/robots.txt +++ b/robots.txt @@ -3,4 +3,3 @@ Allow: / Allow: /_next/ Sitemap: https://docs.langbot.app/sitemap.xml -Sitemap: https://docs.langbot.app/sitemap-alternates.xml diff --git a/tests/seo.test.mjs b/tests/seo.test.mjs index c5698651e..afba2dbb2 100644 --- a/tests/seo.test.mjs +++ b/tests/seo.test.mjs @@ -40,7 +40,7 @@ test("custom robots policy is served from the Mintlify project root", async () = robots, /^Sitemap: https:\/\/docs\.langbot\.app\/sitemap\.xml$/m, ); - assert.match( + assert.doesNotMatch( robots, /^Sitemap: https:\/\/docs\.langbot\.app\/sitemap-alternates\.xml$/m, );