Skip to content

Commit 48a9645

Browse files
i18n(zh-cn): Remove Astro v5 Banner in related docs (#12578)
Co-authored-by: Yan <[email protected]>
1 parent b1ef9d3 commit 48a9645

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

src/content/docs/zh-cn/getting-started.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ i18nReady: true
55
tableOfContents: false
66
editUrl: false
77
next: false
8-
banner:
9-
content: |
10-
Astro v5 已发布!<a href="/zh-cn/guides/upgrade-to/v5/">了解如何升级你的网站</a>!
118
hero:
129
title: Astro 文档
1310
tagline: 指南、资源和 API 参考,帮助你使用 Astro 进行构建。

src/content/docs/zh-cn/install-and-setup.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ sidebar:
44
label: '安装'
55
description: '如何安装 Astro 并开始一个新项目。'
66
i18nReady: true
7-
banner:
8-
content: |
9-
Astro v5 来临!<a href="/zh-cn/guides/upgrade-to/v5/">了解如何升级你的网站</a>
107
---
118
import { Tabs, TabItem, FileTree, CardGrid, LinkCard, Steps } from '@astrojs/starlight/components';
129
import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro';
@@ -91,7 +88,7 @@ Astro 使用 Vite 构建,Vite 默认针对支持现代 JavaScript 的浏览器
9188

9289
你可以运行带有附加标志的 `create astro` 命令来自定义安装的过程(例如,对每次询问都统一回答“是”,跳过 Houston 动画)或你的新项目(例如,是否安装 git,添加集成)。
9390

94-
<ReadMore>请参阅[所有可用的 `create astro` 命令标志](https://github.com/withastro/astro/blob/main/packages/create-astro/README.md)</ReadMore>
91+
<ReadMore>请参阅 [所有可用的 `create astro` 命令标志](https://github.com/withastro/astro/blob/main/packages/create-astro/README.md)</ReadMore>
9592

9693
### 添加集成
9794

@@ -289,7 +286,7 @@ Astro 使用 Vite 构建,Vite 默认针对支持现代 JavaScript 的浏览器
289286

290287
如果你想在你的项目中包含 [UI 框架组件](/zh-cn/guides/framework-components/),如 React、Svelte 等,或使用其他工具,如 MDX 或 Partytown,这里是你[手动导入和配置集成](/zh-cn/guides/integrations-guide/)的地方。
291288

292-
阅读 Astro 的 [API 配置参考](/zh-cn/reference/configuration-reference/) 以获取更多信息。
289+
<ReadMore>阅读 Astro 的 [API 配置参考](/zh-cn/reference/configuration-reference/) 以获取更多信息。</ReadMore>
293290

294291
6. 添加 TypeScript 支持
295292

@@ -305,7 +302,7 @@ Astro 使用 Vite 构建,Vite 默认针对支持现代 JavaScript 的浏览器
305302
}
306303
```
307304

308-
阅读 Astro 的 [TypeScript 设置指南](/zh-cn/guides/typescript/#设置) 以获取更多信息。
305+
<ReadMore>阅读 Astro 的 [TypeScript 设置指南](/zh-cn/guides/typescript/#设置) 以获取更多信息。</ReadMore>
309306

310307
7. 接下来
311308

src/content/docs/zh-cn/upgrade-astro.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 升级 Astro
33
description: 学习如何升级 Astro
44
i18nReady: true
5-
banner:
6-
content: Astro v5 已发布! <a href="/zh-cn/guides/upgrade-to/v5/">了解如何升级你的网站</a>!
75
---
86
import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro';
97
import Version from '~/components/Version.astro';

0 commit comments

Comments
 (0)