Skip to content

Commit

Permalink
feat(doc): update sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang committed Jan 26, 2024
1 parent 48c2453 commit 8803cdb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion documentation/docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ let userConfig = defineConfig({
head: head,
base: SITE_BASE,
sitemap: {
hostname: hostname
hostname: hostname,
transformItems: (items) => {
items.push({
url: `${hostname}javadoc/index.html`,
changefreq: 'weekly',
priority: 0.8
})
return items
}
},
appearance: 'dark',
themeConfig: {
Expand Down

0 comments on commit 8803cdb

Please sign in to comment.