Skip to content

Commit

Permalink
docs: Add docusaurus sitemap (#2987)
Browse files Browse the repository at this point in the history
* Update npm deps

* Updated deps and config for sitemap (reverted deps to new version of Docusaurus)

---------

Co-authored-by: MSalopek <[email protected]>
  • Loading branch information
mmulji-ic and MSalopek authored Apr 15, 2024
1 parent bcc4d93 commit 218e8cc
Show file tree
Hide file tree
Showing 3 changed files with 3,088 additions and 1,516 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ contract_tests/*

go.work.sum

node_modules
6 changes: 6 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ const config = {
},
},
},
sitemap: {
changefreq: 'weekly',
priority: 0.5,
ignorePatterns: ['/tags/**'],
filename: 'sitemap.xml',
},
blog: false,
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand Down
Loading

0 comments on commit 218e8cc

Please sign in to comment.