diff --git a/packages/docs-site-zh/src/routes/reference/default-theme/+page.md b/packages/docs-site-zh/src/routes/reference/default-theme/+page.md index c46dedde..11f1c4b2 100644 --- a/packages/docs-site-zh/src/routes/reference/default-theme/+page.md +++ b/packages/docs-site-zh/src/routes/reference/default-theme/+page.md @@ -142,7 +142,7 @@ const defaultGradient = { 为一个对象,键是分类名称,值是该分类下需要预构建的图标集合,下面是此站点的配置 -@code(/vite.config.ts,28,40) +@code(/vite.config.ts,29,41) 这些图标看起来像这样: ```svelte live diff --git a/packages/docs-site-zh/src/routes/reference/vite-plugin/+page.md b/packages/docs-site-zh/src/routes/reference/vite-plugin/+page.md index 5af1e800..e2050c7e 100644 --- a/packages/docs-site-zh/src/routes/reference/vite-plugin/+page.md +++ b/packages/docs-site-zh/src/routes/reference/vite-plugin/+page.md @@ -4,11 +4,11 @@ title: Vite 插件 ## 插件选项 -@code(/../vite/src/types.ts,25,31) +@code(/../vite/src/types.ts,26,32) ### `siteConfig` -@code(/../vite/src/types.ts,8,11) +@code(/../vite/src/types.ts,9,12) * `title`: 站点标题,默认为:`'Untitled site'` * `description`: 站点描述,默认为:`'Build by sveltepress'` @@ -31,7 +31,7 @@ title: Vite 插件 ## `ResolvedTheme` -@code(/../vite/src/types.ts,12,24) +@code(/../vite/src/types.ts,13,25) ### `name` diff --git a/packages/docs-site/src/routes/reference/default-theme/+page.md b/packages/docs-site/src/routes/reference/default-theme/+page.md index 3d4c6be8..6d58df9a 100644 --- a/packages/docs-site/src/routes/reference/default-theme/+page.md +++ b/packages/docs-site/src/routes/reference/default-theme/+page.md @@ -150,7 +150,7 @@ The icons in [Iconify](https://iconify.design/) that you want to pre-build for f An object, key is the collection name, value is the icons array. For example these are the icons this site using: -@code(/vite.config.ts,29,40) +@code(/vite.config.ts,29,41) These icons looks like this: diff --git a/packages/docs-site/src/routes/reference/vite-plugin/+page.md b/packages/docs-site/src/routes/reference/vite-plugin/+page.md index cde44247..989ffa2c 100644 --- a/packages/docs-site/src/routes/reference/vite-plugin/+page.md +++ b/packages/docs-site/src/routes/reference/vite-plugin/+page.md @@ -4,11 +4,11 @@ title: Vite plugin ## Plugin options -@code(/../vite/src/types.ts,25,31) +@code(/../vite/src/types.ts,26,32) ### `siteConfig` -@code(/../vite/src/types.ts,8,11) +@code(/../vite/src/types.ts,9,12) * `title`: The site title. Would be `'Untitled site'` if not provided. * `description`: The site description. Would be `'Build by sveltepress'` if not provided. @@ -34,7 +34,7 @@ Read [Rehype plugins](https://github.com/rehypejs/rehype#plugins) for more detai ## ResolvedTheme -@code(/../vite/src/types.ts,12,24) +@code(/../vite/src/types.ts,13,25) ### `name`