Skip to content

Commit

Permalink
[i18nIgnore] docs: fix a few links with inconsistent locale (#2266)
Browse files Browse the repository at this point in the history
Co-authored-by: liruifengv <[email protected]>
  • Loading branch information
HiDeoo and liruifengv authored Aug 31, 2024
1 parent 374428b commit 239262a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"pa11y-ci": "^3.0.1",
"starlight-links-validator": "^0.9.0",
"starlight-links-validator": "^0.11.0",
"start-server-and-test": "^2.0.4"
}
}
2 changes: 1 addition & 1 deletion docs/src/content/docs/ja/resources/plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Starlight向けのプラグインやツールを作成しましたか?この

<CardGrid>
<LinkCard
href="/guides/site-search/#algolia-docsearch"
href="/ja/guides/site-search/#algolia-docsearch"
title="Algolia DocSearch"
description="デフォルトの検索プロバイダーであるPagefindを、Algolia DocSearchに置き換えます。"
/>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/pt-pt/resources/plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Estenda o seu site com os plugins oficiais suportados pela equipa Starlight e co

<CardGrid>
<LinkCard
href="/pt-br/guides/site-search/#algolia-docsearch"
href="/pt-pt/guides/site-search/#algolia-docsearch"
title="Algolia DocSearch"
description="Substitua o fornecedor de pesquisa Pagefind pelo Algolia DocSearch."
/>
Expand Down
8 changes: 4 additions & 4 deletions docs/src/content/docs/zh-cn/guides/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -237,19 +237,19 @@ import { LinkCard } from '@astrojs/starlight/components';

import { LinkButton } from '@astrojs/starlight/components';

<LinkButton href="/getting-started/">Get started</LinkButton>
<LinkButton href="/zh-cn/getting-started/">开始使用</LinkButton>
<LinkButton href="https://docs.astro.build" variant="secondary" icon="external">
Related: Astro
相关内容:Astro
</LinkButton>
```

以上代码在页面上生成了以下内容:

import { LinkButton } from '@astrojs/starlight/components';

<LinkButton href="/getting-started/">Get started</LinkButton>
<LinkButton href="/zh-cn/getting-started/">开始使用</LinkButton>
<LinkButton href="https://docs.astro.build" variant="secondary" icon="external">
Related: Astro
相关内容:Astro
</LinkButton>

### 旁白
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 239262a

Please sign in to comment.