Add back sitemap plugin

This commit is contained in:
Kid 2023-04-25 15:03:38 +00:00
parent 1673d5c501
commit 57432eb187
3 changed files with 789 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import { defineUserConfig, SidebarConfigArray } from "vuepress";
import { defaultTheme } from "@vuepress/theme-default";
import { googleAnalyticsPlugin } from "@vuepress/plugin-google-analytics";
import { sitemapPlugin } from "vuepress-plugin-sitemap2";
import codeCopyPlugin from "@snippetors/vuepress-plugin-code-copy";
import { docsearchPlugin } from "@vuepress/plugin-docsearch";
@ -320,6 +321,9 @@ export default defineUserConfig({
googleAnalyticsPlugin({
id: "UA-71160903-4",
}),
sitemapPlugin({
hostname: "https://starship.rs",
}),
codeCopyPlugin(),
docsearchPlugin({
apiKey: "44118471f56286dcda7db941a043370d",

784
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,6 +8,7 @@
"@vuepress/plugin-docsearch": "^2.0.0-beta.61",
"@vuepress/plugin-google-analytics": "^2.0.0-beta.61",
"vuepress": "^2.0.0-beta.61",
"vuepress-plugin-sitemap2": "^2.0.0-beta.206",
"vuepress-theme-default-prefers-color-scheme": "^2.0.0"
}
}