From cae44f689c6c263d3b59cb37f84df7bb1d47c08e Mon Sep 17 00:00:00 2001 From: Eneko Fernandez Date: Thu, 26 Oct 2023 10:25:22 +0100 Subject: [PATCH 1/2] just include current version in sitemap --- website/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 3f1ffd8ddc..70ed5950c7 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -215,7 +215,7 @@ module.exports = { sitemap: { changefreq: 'weekly', priority: 0.5, - ignorePatterns: ['/tags/**'], + ignorePatterns: ['/docs/next/**', '/docs/*[0-9].*[0-9].*[0-9]/**'], filename: 'sitemap.xml', }, }, From 0bd1029bcefebdced44add33dd56311b9659c62f Mon Sep 17 00:00:00 2001 From: Eneko Fernandez Date: Thu, 26 Oct 2023 13:23:57 +0100 Subject: [PATCH 2/2] adding archives too --- 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 70ed5950c7..b658fce69c 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -215,7 +215,11 @@ module.exports = { sitemap: { changefreq: 'weekly', priority: 0.5, - ignorePatterns: ['/docs/next/**', '/docs/*[0-9].*[0-9].*[0-9]/**'], + ignorePatterns: [ + '/docs/next/**', + '/docs/archives/**', + '/docs/*[0-9].*[0-9].*[0-9]/**' + ], filename: 'sitemap.xml', }, },