Skip to content

Commit

Permalink
docs: added sitemap support to docs (cosmos#5521)
Browse files Browse the repository at this point in the history
* deps: ran 'npm i --save @docusaurus/plugin-sitemap'

* imp: added sitemap options
  • Loading branch information
srdtrk committed Jan 5, 2024
1 parent bb42c9a commit d78aaac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ const config = {
trackingID: "G-HP8ZXWVLJG",
anonymizeIP: true,
},
sitemap: {
changefreq: "weekly",
priority: 0.5,
filename: "sitemap.xml",
},
}),
],
],
Expand Down
1 change: 1 addition & 0 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@docusaurus/plugin-client-redirects": "^3.0.1",
"@docusaurus/plugin-content-docs": "^3.0.1",
"@docusaurus/plugin-google-gtag": "^3.0.1",
"@docusaurus/plugin-sitemap": "^3.0.1",
"@docusaurus/preset-classic": "^3.0.1",
"@easyops-cn/docusaurus-search-local": "^0.40.1",
"@gracefullight/docusaurus-plugin-microsoft-clarity": "^1.0.0",
Expand Down

0 comments on commit d78aaac

Please sign in to comment.