Skip to content

Commit

Permalink
feat(docs): add sitemap (#2066)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronc authored Oct 18, 2023
1 parent bb2149a commit 6068be9
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { backToTopPlugin } from '@vuepress/plugin-back-to-top'
import { mediumZoomPlugin } from '@vuepress/plugin-medium-zoom'
import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics'
import codeCopyPlugin from '@snippetors/vuepress-plugin-code-copy';
import { sitemapPlugin } from "vuepress-plugin-sitemap2";


/**
* Ref:https://v2.vuepress.vuejs.org/guide/configuration.html#config-file
Expand Down Expand Up @@ -277,5 +279,8 @@ export default defineUserConfig({
id: process.env.GOOGLE_ANALYTICS_ID
}),
codeCopyPlugin(),
sitemapPlugin({
hostname: "https://docs.regen.network",
})
]
})
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@snippetors/vuepress-plugin-code-copy": "^1.2.3",
"@vuepress/plugin-google-analytics": "^2.0.0-beta.67",
"dotenv": "^16.3.1",
"vuepress-plugin-sitemap2": "^2.0.0-beta.238",
"vuepress-vite": "^2.0.0-beta.67"
}
}
Loading

0 comments on commit 6068be9

Please sign in to comment.