diff --git a/docs/plugins/docsearch.md b/docs/plugins/docsearch.md index 0b43755326..860db75860 100644 --- a/docs/plugins/docsearch.md +++ b/docs/plugins/docsearch.md @@ -48,7 +48,7 @@ new Crawler({ 'https://YOUR_WEBSITE_URL/', ], sitemaps: [ - // if you are using sitemap plugins (e.g.: vuepress-plugin-sitemap2), you may provide one + // if you are using sitemap plugins (e.g.: @vuepress-plugin/sitemap), you may provide one 'https://YOUR_WEBSITE_URL/sitemap.xml', ], ignoreCanonicalTo: false, diff --git a/docs/plugins/sitemap/README.md b/docs/plugins/sitemap/README.md index 3b903a729a..c0a3e572e9 100644 --- a/docs/plugins/sitemap/README.md +++ b/docs/plugins/sitemap/README.md @@ -9,7 +9,7 @@ npm i -D @vuepress/plugin-sitemap@next ``` ```ts title=".vuepress/config.ts" -import { sitemapPlugin } from "vuepress-plugin-sitemap2"; +import { sitemapPlugin } from "@vuepress/plugin-sitemap"; export default { plugins: [ diff --git a/docs/plugins/sitemap/config.md b/docs/plugins/sitemap/config.md index 7009359389..9a4b7eac86 100644 --- a/docs/plugins/sitemap/config.md +++ b/docs/plugins/sitemap/config.md @@ -64,7 +64,7 @@ Output xsl filename, relative to dest folder. ## sitemapXSLTemplate - Type: `string` -- Default value: `"vuepress-plugin-sitemap2/templates/sitemap.xsl"` +- Default value: `"@vuepress/plugin-sitemap/templates/sitemap.xsl"` XSL content used as template. diff --git a/docs/zh/plugins/docsearch.md b/docs/zh/plugins/docsearch.md index 1bf2b05ac0..8c4c004aa3 100644 --- a/docs/zh/plugins/docsearch.md +++ b/docs/zh/plugins/docsearch.md @@ -47,7 +47,7 @@ new Crawler({ 'https://YOUR_WEBSITE_URL/', ], sitemaps: [ - // 如果你在使用 Sitemap 插件 (如: vuepress-plugin-sitemap2),你可以提供 Sitemap 链接 + // 如果你在使用 Sitemap 插件 (如: @vuepress-plugin/sitemap),你可以提供 Sitemap 链接 'https://YOUR_WEBSITE_URL/sitemap.xml', ], ignoreCanonicalTo: false, diff --git a/docs/zh/plugins/sitemap/README.md b/docs/zh/plugins/sitemap/README.md index 357684c87d..9be95319fa 100644 --- a/docs/zh/plugins/sitemap/README.md +++ b/docs/zh/plugins/sitemap/README.md @@ -9,7 +9,7 @@ npm i -D @vuepress/plugin-sitemap@next ``` ```ts title=".vuepress/config.ts" -import { sitemapPlugin } from "vuepress-plugin-sitemap2"; +import { sitemapPlugin } from "@vuepress/plugin-sitemap"; export default { plugins: [ diff --git a/docs/zh/plugins/sitemap/config.md b/docs/zh/plugins/sitemap/config.md index 394511b13c..3036e470da 100644 --- a/docs/zh/plugins/sitemap/config.md +++ b/docs/zh/plugins/sitemap/config.md @@ -64,7 +64,7 @@ ## sitemapXSLTemplate - 类型: `string` -- 默认值: `"vuepress-plugin-sitemap2/templates/sitemap.xsl"` +- 默认值: `"@vuepress-plugin/sitemap/templates/sitemap.xsl"` 用作模板的 XSL 文件内容 diff --git a/plugins/plugin-sitemap/templates/sitemap.xsl b/plugins/plugin-sitemap/templates/sitemap.xsl index 2a9aedec65..a76881a481 100644 --- a/plugins/plugin-sitemap/templates/sitemap.xsl +++ b/plugins/plugin-sitemap/templates/sitemap.xsl @@ -199,7 +199,7 @@