Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 30, 2024
1 parent 8c26360 commit 291f3a7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/plugins/docsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/sitemap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/sitemap/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/plugins/docsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/plugins/sitemap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/plugins/sitemap/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
## sitemapXSLTemplate

- 类型: `string`
- 默认值: `"vuepress-plugin-sitemap2/templates/sitemap.xsl"`
- 默认值: `"@vuepress-plugin/sitemap/templates/sitemap.xsl"`

用作模板的 XSL 文件内容

Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-sitemap/templates/sitemap.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
</table>
</div>
<footer>
Generatd by <a href="https://plugin-sitemap2.vuejs.press">@vuepress/plugin-sitemap</a>
Generatd by <a href="https://ecosystem.vuejs.press/plugins/sitemap/">@vuepress/plugin-sitemap</a>
</footer>
</body>
</html>
Expand Down

0 comments on commit 291f3a7

Please sign in to comment.