Merge pull request #993 from wonderflow/sitemap

Feat: add sitemap for kubevela
This commit is contained in:
barnettZQG 2022-10-09 19:16:06 +08:00 committed by GitHub
commit 36913419a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -169,6 +169,12 @@ module.exports = {
[
'@docusaurus/preset-classic',
{
sitemap: {
changefreq: 'weekly',
priority: 0.5,
ignorePatterns: ['/tags/**'],
filename: 'sitemap.xml',
},
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: function ({ locale, docPath }) {