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 2500702
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 105 deletions.
11 changes: 11 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,5 +340,16 @@ module.exports = {
],
},
],
[
"@docusaurus/plugin-sitemap",
{
sitemap: {
changefreq: "weekly",
priority: 0.5,
ignorePatterns: ["/versioned_docs/**"],
filename: "sitemap.xml",
},
}
]
],
};
Loading

0 comments on commit 2500702

Please sign in to comment.