Skip to content

Commit

Permalink
added sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
chitang233 committed Jul 20, 2022
1 parent 7bc5894 commit a19e33f
Show file tree
Hide file tree
Showing 3 changed files with 7,742 additions and 7,334 deletions.
9 changes: 9 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ const config = {
},
}),
],
'@docusaurus/preset-classic',
{
sitemap: {
changefreq: 'weekly',
priority: 0.5,
ignorePatterns: ['/tags/**'],
filename: 'sitemap.xml',
},
},
],

themeConfig:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@babel/traverse": "7.17.9",
"@docusaurus/core": "^2.0.0-beta.21",
"@docusaurus/plugin-sitemap": "^2.0.0-rc.1",
"@docusaurus/preset-classic": "^2.0.0-beta.21",
"@easyops-cn/docusaurus-search-local": "^0.23.3",
"@emotion/react": "^11.9.0",
Expand Down
Loading

0 comments on commit a19e33f

Please sign in to comment.