From 0d695dfd78aba5904a4520794412c94792c41e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eneko=20Fern=C3=A1ndez?= <12957664+enekofb@users.noreply.github.com> Date: Thu, 14 Nov 2024 20:05:41 +0000 Subject: [PATCH] Dont sitemap versions (#4112) * just include current version in sitemap * adding archives too --------- Co-authored-by: Charles Sibbald <123247+casibbald@users.noreply.github.com> --- website/docusaurus.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 03031ae0b5..b05761d93e 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -227,7 +227,11 @@ module.exports = { sitemap: { changefreq: 'weekly', priority: 0.5, - ignorePatterns: ['/tags/**'], + ignorePatterns: [ + '/docs/next/**', + '/docs/archives/**', + '/docs/*[0-9].*[0-9].*[0-9]/**' + ], filename: 'sitemap.xml', }, },