Skip to content

Commit

Permalink
Use Docusaurus sitemap plugin to remove old versions from SEO
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Dec 22, 2023
1 parent 48446b9 commit 60c12e6
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 106 deletions.
8 changes: 7 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,17 @@ module.exports = {
label: "v1.28.x LTS",
},
},
},
},
googleAnalytics: {
trackingID: "UA-123892882-1",
anonymizeIP: true,
},
sitemap: {
changefreq: "weekly",
priority: 0.5,
ignorePatterns: ["/versioned_docs/**"],
filename: "sitemap.xml",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
Expand Down
Loading

0 comments on commit 60c12e6

Please sign in to comment.