Skip to content

Commit 0d695df

Browse files
enekofbcasibbald
andauthored
Dont sitemap versions (#4112)
* just include current version in sitemap * adding archives too --------- Co-authored-by: Charles Sibbald <123247+casibbald@users.noreply.github.com>
1 parent 64b5e44 commit 0d695df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

website/docusaurus.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,11 @@ module.exports = {
227227
sitemap: {
228228
changefreq: 'weekly',
229229
priority: 0.5,
230-
ignorePatterns: ['/tags/**'],
230+
ignorePatterns: [
231+
'/docs/next/**',
232+
'/docs/archives/**',
233+
'/docs/*[0-9].*[0-9].*[0-9]/**'
234+
],
231235
filename: 'sitemap.xml',
232236
},
233237
},

0 commit comments

Comments
 (0)