Skip to content

Commit

Permalink
Merge branch 'main' into docs/group-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd authored Jan 6, 2025
2 parents ab158c1 + 74aa6fa commit d9b701a
Show file tree
Hide file tree
Showing 20 changed files with 97 additions and 5,613 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![test](https://github.com/vuejs/vitepress/workflows/Test/badge.svg)](https://github.com/vuejs/vitepress/actions)
[![npm](https://img.shields.io/npm/v/vitepress)](https://www.npmjs.com/package/vitepress)
[![nightly releases](https://img.shields.io/badge/nightly-releases-orange)](https://nightly.akryum.dev/vuejs/vitepress)
[![chat](https://img.shields.io/badge/chat-discord-blue?logo=discord)](https://chat.vuejs.org)

---
Expand Down
2 changes: 1 addition & 1 deletion docs/en/guide/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Both internal and external links get special treatment.

### Internal Links

Internal links are converted to router link for SPA navigation. Also, every `index.md` contained in each sub-directory will automatically be converted to `index.html`, with corresponding URL `/`.
Internal links are converted to router links for SPA navigation. Also, every `index.md` contained in each sub-directory will automatically be converted to `index.html`, with corresponding URL `/`.

For example, given the following directory structure:

Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/runtime-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ interface Router {
/**
* Called after the route changes.
*/
onAfterRouteChanged?: (to: string) => Awaitable<void>
onAfterRouteChange?: (to: string) => Awaitable<void>
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/es/reference/runtime-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ interface Router {
/**
* Llamado después del cambio de ruta.
*/
onAfterRouteChanged?: (to: string) => Awaitable<void>
onAfterRouteChange?: (to: string) => Awaitable<void>
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/fa/reference/runtime-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ interface Router {
/**
* پس از تغییر مسیر فراخوانی می‌شود.
*/
onAfterRouteChanged?: (to: string) => Awaitable<void>
onAfterRouteChange?: (to: string) => Awaitable<void>
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/runtime-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ interface Router {
/**
* 라우트가 변경된 후 호출.
*/
onAfterRouteChanged?: (to: string) => Awaitable<void>
onAfterRouteChange?: (to: string) => Awaitable<void>
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@lunariajs/core": "^0.1.1",
"markdown-it-mathjax3": "^4.3.2",
"open-cli": "^8.0.0",
"postcss-rtlcss": "^5.5.1",
"postcss-rtlcss": "^5.6.0",
"vitepress": "workspace:*",
"vitepress-plugin-group-icons": "^1.3.2"
}
Expand Down
4 changes: 2 additions & 2 deletions docs/pt/guide/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Você pode definir um título personalizado adicionando o texto imediatamente ap

**Entrada**

```md
````md
::: danger STOP
Zona de perigo, não prossiga
:::
Expand All @@ -192,7 +192,7 @@ Zona de perigo, não prossiga
console.log('Olá, VitePress!')
```
:::
```
````

**Saída**

Expand Down
2 changes: 1 addition & 1 deletion docs/pt/reference/runtime-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ interface Router {
/**
* Chamado após a mudança de rota.
*/
onAfterRouteChanged?: (to: string) => Awaitable<void>
onAfterRouteChange?: (to: string) => Awaitable<void>
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/ru/reference/runtime-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ interface Router {
/**
* Вызывается после изменения маршрута.
*/
onAfterRouteChanged?: (to: string) => Awaitable<void>
onAfterRouteChange?: (to: string) => Awaitable<void>
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/reference/runtime-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ interface Router {
/**
* 在路由更改后调用
*/
onAfterRouteChanged?: (to: string) => Awaitable<void>
onAfterRouteChange?: (to: string) => Awaitable<void>
}
```

Expand Down
77 changes: 38 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,28 +98,28 @@
"*": "prettier --write --ignore-unknown"
},
"dependencies": {
"@docsearch/css": "^3.7.0",
"@docsearch/js": "^3.7.0",
"@iconify-json/simple-icons": "^1.2.11",
"@shikijs/core": "^1.22.2",
"@shikijs/transformers": "^1.22.2",
"@shikijs/types": "^1.22.2",
"@docsearch/css": "^3.8.2",
"@docsearch/js": "^3.8.2",
"@iconify-json/simple-icons": "^1.2.17",
"@shikijs/core": "^1.24.4",
"@shikijs/transformers": "^1.24.4",
"@shikijs/types": "^1.24.4",
"@types/markdown-it": "^14.1.2",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/devtools-api": "^7.6.3",
"@vue/shared": "^3.5.12",
"@vueuse/core": "^11.2.0",
"@vueuse/integrations": "^11.2.0",
"focus-trap": "^7.6.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/devtools-api": "^7.6.8",
"@vue/shared": "^3.5.13",
"@vueuse/core": "^12.2.0",
"@vueuse/integrations": "^12.2.0",
"focus-trap": "^7.6.2",
"mark.js": "8.11.1",
"minisearch": "^7.1.0",
"shiki": "^1.22.2",
"vite": "^5.4.10",
"vue": "^3.5.12"
"minisearch": "^7.1.1",
"shiki": "^1.24.4",
"vite": "^5.4.11",
"vue": "^3.5.13"
},
"devDependencies": {
"@clack/prompts": "^0.7.0",
"@iconify/utils": "^2.1.33",
"@clack/prompts": "^0.9.0",
"@iconify/utils": "^2.2.1",
"@mdit-vue/plugin-component": "^2.1.3",
"@mdit-vue/plugin-frontmatter": "^2.1.3",
"@mdit-vue/plugin-headers": "^2.1.3",
Expand All @@ -129,10 +129,10 @@
"@mdit-vue/shared": "^2.1.3",
"@polka/compression": "^1.0.0-next.28",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@types/cross-spawn": "^6.0.6",
"@types/debug": "^4.1.12",
"@types/fs-extra": "^11.0.4",
Expand All @@ -143,55 +143,54 @@
"@types/markdown-it-emoji": "^3.0.1",
"@types/micromatch": "^4.0.9",
"@types/minimist": "^1.2.5",
"@types/node": "^22.9.0",
"@types/node": "^22.10.2",
"@types/postcss-prefix-selector": "^1.16.3",
"@types/prompts": "^2.4.9",
"chokidar": "^3.6.0",
"chokidar": "^4.0.3",
"conventional-changelog-cli": "^5.0.0",
"cross-spawn": "^7.0.3",
"debug": "^4.3.7",
"esbuild": "^0.24.0",
"execa": "^9.5.1",
"cross-spawn": "^7.0.6",
"debug": "^4.4.0",
"esbuild": "^0.24.2",
"execa": "^9.5.2",
"fs-extra": "^11.2.0",
"get-port": "^7.1.0",
"gray-matter": "^4.0.3",
"lint-staged": "^15.2.10",
"lint-staged": "^15.3.0",
"lodash.template": "^4.5.0",
"lru-cache": "^11.0.2",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-attrs": "^4.2.0",
"markdown-it-attrs": "^4.3.1",
"markdown-it-container": "^4.0.0",
"markdown-it-emoji": "^3.0.0",
"markdown-it-mathjax3": "^4.3.2",
"micromatch": "^4.0.8",
"minimist": "^1.2.8",
"nanoid": "^5.0.8",
"nanoid": "^5.0.9",
"ora": "^8.1.1",
"p-map": "^7.0.2",
"p-map": "^7.0.3",
"path-to-regexp": "^6.3.0",
"picocolors": "^1.1.1",
"pkg-dir": "^8.0.0",
"playwright-chromium": "^1.48.2",
"playwright-chromium": "^1.49.1",
"polka": "^1.0.0-next.28",
"postcss-prefix-selector": "^2.1.0",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"prompts": "^2.4.2",
"punycode": "^2.3.1",
"rimraf": "^6.0.1",
"rollup": "^4.24.4",
"rollup": "^4.29.1",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"semver": "^7.6.3",
"simple-git-hooks": "^2.11.1",
"sirv": "^3.0.0",
"sitemap": "^8.0.0",
"supports-color": "^9.4.0",
"synckit": "^0.9.2",
"tinyglobby": "^0.2.10",
"typescript": "^5.6.3",
"vitest": "^2.1.4",
"vue-tsc": "^2.1.10",
"typescript": "^5.7.2",
"vitest": "^2.1.8",
"vue-tsc": "^2.2.0",
"wait-on": "^8.0.1"
},
"peerDependencies": {
Expand All @@ -206,7 +205,7 @@
"optional": true
}
},
"packageManager": "pnpm@9.12.3",
"packageManager": "pnpm@9.15.2",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
Expand Down
Loading

0 comments on commit d9b701a

Please sign in to comment.