This is an automated email from the ASF dual-hosted git repository.
jeffreyh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 4daa54c6eb8 chore:reduce the priority of docs v1.2 (#1628)
4daa54c6eb8 is described below
commit 4daa54c6eb869b5d03cb2a2722e640528095f018
Author: yangon <[email protected]>
AuthorDate: Fri Dec 27 10:54:15 2024 +0800
chore:reduce the priority of docs v1.2 (#1628)

Co-authored-by: liyang <[email protected]>
---
docusaurus.config.js | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 848a493022c..be58c49432e 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -178,6 +178,21 @@ const config = {
trackingID: 'G-DT7W9E9722',
anonymizeIP: true,
},
+ sitemap: {
+ changefreq: 'weekly',
+ priority: 0.5,
+ filename: 'sitemap.xml',
+ createSitemapItems: async (params) => {
+ const {defaultCreateSitemapItems, ...rest} = params;
+ const items = await defaultCreateSitemapItems(rest);
+ for(let item of items){
+ if(item.url.includes('docs/1.2')){
+ item.priority = 0.2;
+ }
+ }
+ return items;
+ },
+ },
}),
],
],
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]