Skip to content

Commit 1b07a0f

Browse files
authored
chore(docusaurus): upgrade to v3 - JP (#3363)
1 parent 6251d97 commit 1b07a0f

File tree

262 files changed

+7198
-9447
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+7198
-9447
lines changed

.prettierignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
src/theme/DocItem
2-
src/theme/DocPage
2+
src/theme/DocRoot
33
legacy-stencil-components
44
scripts/bak
55

66
docs/api
77
docs/native
8+
versioned_docs/version-v*/native
89
docs/cli/commands
910

1011
static/code/stackblitz

docs/angular/build-options.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ See the [Standalone Migration Guide](#migrating-from-modules-to-standalone) for
2828

2929
### Usage with Standalone-based Applications
3030

31-
:::caution
31+
:::warning
3232
All Ionic imports should be imported from the `@ionic/angular/standalone` submodule. This includes imports such as components, directives, providers, and types. Importing from `@ionic/angular` may pull in lazy loaded Ionic code which can interfere with treeshaking.
3333
:::
3434

@@ -177,7 +177,7 @@ export class HomePage {}
177177

178178
### Usage with NgModule-based Applications
179179

180-
:::caution
180+
:::warning
181181
All Ionic imports should be imported from the `@ionic/angular/standalone` submodule. This includes imports such as components, directives, providers, and types. Importing from `@ionic/angular` may pull in lazy loaded Ionic code which can interfere with treeshaking.
182182
:::
183183

docs/angular/navigation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ import { LoginComponent } from './login.component';
175175

176176
## Standalone Components
177177

178-
:::caution Experimental API
178+
:::warning Experimental API
179179

180180
Standalone components is an experimental API introduced in Angular 14.x and available in Ionic 6.3 and later. This feature may change before it is stable.
181181

docs/angular/slides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import TabItem from '@theme/TabItem';
1313
/>
1414
</head>
1515

16-
:::caution Looking for `ion-slides`?
16+
:::warning Looking for `ion-slides`?
1717
`ion-slides` was deprecated in v6.0.0 and removed in v7.0.0. We recommend using the Swiper.js library directly. The migration process is detailed below.
1818
:::
1919

docs/angular/virtual-scroll.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 仮想スクロール
22

3-
:::caution Looking for `ion-virtual-scroll`?
3+
:::warning Looking for `ion-virtual-scroll`?
44

55
`ion-virtual-scroll` was deprecated in v6.0.0 and removed in v7.0.0. We recommend using the `@angular/cdk` package detailed below.
66

docs/angular/your-first-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Here’s the finished app running on all 3 platforms:
1919
width="560"
2020
height="315"
2121
src="https://www.youtube.com/embed/0ASQ13Y1Rk4"
22-
frameborder="0"
22+
frameBorder="0"
2323
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
2424
allowfullscreen
2525
></iframe>

docs/core-concepts/fundamentals.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,8 @@ Web テクノロジで構築されたアプリ(Ionic アプリなど)の素
4040

4141
Ionic の最も一般的な使用例の 1 つは、 <a href="https://www.apple.com/ios/app-store/" target="_blank">App Store</a> と <a href="https://play.google.com/" target="_blank">Play Store</a> の両方からダウンロードできるアプリを作成することです。iOS と Android の両方のソフトウェア開発キット(SDK)は、完全なネイティブ SDK アクセスを可能にしながら、あらゆる Ionic アプリをレンダリングする [Web Views](webview.md) を提供します。
4242

43-
<a href="https://capacitorjs.com/" target="_blank">
44-
Capacitor
45-
</a> や <a href="https://cordova.apache.org/" target="_blank">
46-
Cordova
47-
</a> などのプロジェクトは、IonicアプリにネイティブSDKへのアクセスを与えるためによく使われています。つまり、開発者は一般的なWeb開発ツールを使ってアプリを素早く構築することができ、かつデバイスの加速度センサー、カメラ、GPSなどのネイティブ機能にアクセスすることができるのです。
43+
<!-- prettier-ignore -->
44+
<a href="https://capacitorjs.com/" target="_blank">Capacitor</a> や <a href="https://cordova.apache.org/" target="_blank">Cordova</a> などのプロジェクトは、IonicアプリにネイティブSDKへのアクセスを与えるためによく使われています。つまり、開発者は一般的なWeb開発ツールを使ってアプリを素早く構築することができ、かつデバイスの加速度センサー、カメラ、GPSなどのネイティブ機能にアクセスすることができるのです。
4845

4946
## テーマ
5047

docs/deployment/play-store.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg
3333

3434
このコマンドを実行し、プロンプトに答えると、カレントディレクトリに `my-release-key.keystore` という名前のファイルが作成されます。
3535

36-
:::caution
36+
:::warning
3737
このファイルを保存し、安全な場所に保管してください。このファイルを紛失すると、Google Play ストアはこのアプリのアップデートを受け付けません!
3838
:::
3939

docs/deployment/play-store.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg R
105105

106106
Once that command has been ran and its prompts have been answered a file called `my-release-key.keystore` will be created in the current directory.
107107

108-
:::caution
108+
:::warning
109109
Save this file and keep it somewhere safe. If it is lost the Google Play Store will not accept updates for this app!
110110
:::
111111

docs/developer-resources/guides/first-app-v3/realtime-updates-ionic-deploy.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Now comes the fun part: testing out the native app on your device! For iOS, the
101101
src="https://fast.wistia.net/embed/iframe/s5v4fujv7w?videoFoam=true"
102102
title="Wistia video player"
103103
allowtransparency="true"
104-
frameborder="0"
104+
frameBorder="0"
105105
scrolling="no"
106106
class="wistia_embed"
107107
name="wistia_embed"
@@ -130,7 +130,7 @@ In the upper right hand corner, click the Play button. Select your connected dev
130130
src="https://fast.wistia.net/embed/iframe/b2ys5v4sno?videoFoam=true"
131131
title="Wistia video player"
132132
allowtransparency="true"
133-
frameborder="0"
133+
frameBorder="0"
134134
scrolling="no"
135135
class="wistia_embed"
136136
name="wistia_embed"

docs/index.md

+5-12
Original file line numberDiff line numberDiff line change
@@ -139,18 +139,11 @@ Ionic Framework はコアチームによって積極的に開発され、メン
139139

140140
Ionic の開発者は世界 200 か国以上に何百万人もいます。コミュニティへの参加方法をいくつか紹介します:
141141

142-
- <a href="https://forum.ionicframework.com/" target="_blank">
143-
Forum:
144-
</a> A great place for asking questions and sharing ideas.
145-
- <a href="https://twitter.com/ionicframework" target="_blank">
146-
Twitter:
147-
</a> Where we post updates and share content from the Ionic community.
148-
- <a href="https://github.com/ionic-team/ionic" target="_blank">
149-
GitHub:
150-
</a> For reporting bugs or requesting new features, create an issue here. PRs welcome!
151-
- <a href="https://ionicframework.com/contributors" target="_blank">
152-
Content authoring:
153-
</a> Write a technical blog or share your story with the Ionic community.
142+
<!-- prettier-ignore -->
143+
- <a href="https://forum.ionicframework.com/" target="_blank">Forum:</a> A great place for asking questions and sharing ideas.
144+
- <a href="https://twitter.com/ionicframework" target="_blank">Twitter:</a> Where we post updates and share content from the Ionic community.
145+
- <a href="https://github.com/ionic-team/ionic" target="_blank">GitHub:</a> For reporting bugs or requesting new features, create an issue here. PRs welcome!
146+
- <a href="https://ionicframework.com/contributors" target="_blank">Content authoring:</a> Write a technical blog or share your story with the Ionic community.
154147

155148
## ライセンス
156149

docs/layout/css-utilities.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ display CSS プロパティは、要素を表示するかどうかを決定し
217217

218218
### Responsive な Display 属性
219219

220-
画面サイズに基づいて表示を変更するクラスもあります。ただ `.ion-hide` ではなく `.ion-hide-{breakpoint}-{dir}` という特定の画面サイズでのみクラスを使用します。{breakpoint}は、[Ionic Breakpoints](#ionic-breakpoints)にリストされているブレークポイント名の 1 つです。 `{dir}` は、指定されたブレークポイントの上 (`up`) または下 (`down`) のすべての画面サイズで要素を非表示にするかどうかです。
220+
画面サイズに基づいて表示を変更するクラスもあります。ただ `.ion-hide` ではなく `.ion-hide-{breakpoint}-{dir}` という特定の画面サイズでのみクラスを使用します。\{breakpoint\}は、[Ionic Breakpoints](#ionic-breakpoints)にリストされているブレークポイント名の 1 つです。 `{dir}` は、指定されたブレークポイントの上 (`up`) または下 (`down`) のすべての画面サイズで要素を非表示にするかどうかです。
221221

222222
| Class | Description |
223223
| -------------------- | ---------------------------------------------------------------------------------------------------- |

docs/react.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import DocsCards from '@components/global/DocsCards';
2020

2121
<PageStyles>
2222

23-
<div class='flex main-flex'>
24-
<div class="pull-left">
23+
<div className='flex main-flex'>
24+
<div className="pull-left">
2525
<h1>コードひとつで <br/> あらゆるプラットフォーム <br/> <strong>まさにReact</strong></h1>
2626

2727
- ✓ 100 以上のモバイルに最適化された React UI コンポーネント
@@ -32,7 +32,7 @@ import DocsCards from '@components/global/DocsCards';
3232

3333
</div>
3434

35-
<div class="pull-right">
35+
<div className="pull-right">
3636
<img src={require('@site/static/img/frameworks/react-logo.png').default} />
3737
</div>
3838
</div>
@@ -43,9 +43,9 @@ Ionic React は、Ionic Framework のネイティブ React バージョンで、
4343

4444
React を使用して、あらゆるプラットフォーム向けに受賞歴のあるアプリを出荷するために必要なすべてが揃っています。
4545

46-
<div class="flex" >
46+
<div className="flex" >
4747

48-
<div class="pull-left">
48+
<div className="pull-left">
4949

5050
## すばらしいデザイン
5151

@@ -55,15 +55,15 @@ React を使用して、あらゆるプラットフォーム向けに受賞歴
5555

5656
</div>
5757

58-
<div class="pull-right">
58+
<div className="pull-right">
5959
<img src="/docs/icons/feature-guide-components-icon.png" />
6060
</div>
6161

6262
</div>
6363

64-
<div class="flex reverse" >
64+
<div className="flex reverse" >
6565

66-
<div class="pull-left">
66+
<div className="pull-left">
6767

6868
## 使い慣れたツール
6969

@@ -72,39 +72,39 @@ React バージョン 16.8 以降に対応しています。
7272

7373
</div>
7474

75-
<div class="pull-right">
76-
<img src={require('@site/static/img/frameworks/react-cli.png').default} class="cli" />
75+
<div className="pull-right">
76+
<img src={require('@site/static/img/frameworks/react-cli.png').default} className="cli" />
7777
</div>
7878

7979
</div>
8080

81-
<div class="flex">
81+
<div className="flex">
8282

83-
<div class="pull-left">
83+
<div className="pull-left">
8484

8585
## More than mobile
8686

8787
最新のネイティブランタイムである [Capacitor](https://capacitorjs.com) を使用して、Ionic React プロジェクトをネイティブの iOS、Android、Electron、Web に Progressive Web App としてデプロイできます。すべて 1 つの共有コードベースで。
8888

8989
</div>
9090

91-
<div class="pull-right">
91+
<div className="pull-right">
9292
<img src={require('@site/static/img/native-platforms/group-shot.png').default} />
9393
</div>
9494

9595
</div>
9696

97-
<div class="flex reverse">
97+
<div className="flex reverse">
9898

99-
<div class="pull-left">
99+
<div className="pull-left">
100100

101101
## まさに React
102102

103103
結局のところ、ただの React なのです。Ionic React はオープンな Web 標準とビルトインのブラウザ機能を使用しているため、何百万とある Web ライブラリのどれとも互換性があります。
104104

105105
</div>
106106

107-
<div class="pull-right">
107+
<div className="pull-right">
108108
<img src={require('@site/static/img/frameworks/react.svg').default} />
109109
</div>
110110

docs/react/slides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Migrating From IonSlides to Swiper.js
1010
/>
1111
</head>
1212

13-
:::caution Looking for `IonSlides`?
13+
:::warning Looking for `IonSlides`?
1414

1515
`IonSlides` was deprecated in v6.0.0 and removed in v7.0.0. We recommend using the Swiper.js library directly. The migration process is detailed below.
1616

docs/react/virtual-scroll.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 仮想スクロール
22

3-
:::caution Looking for `ion-virtual-scroll`?
3+
:::warning Looking for `ion-virtual-scroll`?
44

55
`ion-virtual-scroll` was deprecated in v6.0.0 and removed in v7.0.0. We recommend using the Virtuoso package detailed below.
66

docs/react/your-first-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Here’s the finished app running on all 3 platforms:
1919
width="560"
2020
height="315"
2121
src="https://www.youtube.com/embed/0ASQ13Y1Rk4"
22-
frameborder="0"
22+
frameBorder="0"
2323
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
2424
allowfullscreen
2525
></iframe>

docs/theming/css-shadow-parts.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@ Shadow Parts は、開発者がシャドウツリーの外側から、シャド
6767

6868
### How ::part works
6969

70-
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part" target="_blank" rel="noopener noreferrer">
71-
`::part()`
72-
</a> 擬似要素により、開発者はPart属性で公開されているシャドウツリー内の要素を選択することができます。
70+
<!-- prettier-ignore -->
71+
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part" target="_blank" rel="noopener noreferrer">`::part()`</a> 擬似要素により、開発者はPart属性で公開されているシャドウツリー内の要素を選択することができます。
7372

7473
`ion-select` は、値が選択されていないときにテキストをスタイル付けするための `placeholder` Part を公開していることが分かっているので、次のようにカスタマイズすることができます。
7574

docs/troubleshooting/debugging.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ title: Debugging
1414
width="560"
1515
height="315"
1616
src="https://www.youtube.com/embed/akh6V6Yw1lw"
17-
frameborder="0"
17+
frameBorder="0"
1818
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
1919
allowfullscreen
2020
></iframe>

docs/troubleshooting/native.md

+6-11
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ iOS デバイスでアプリケーションを実行するには、プロビジ
2424
2525
Cordova の場合、`config.xml` ファイルを開き、ルート要素 `<widget>``id` 属性を修正します。よりくわしい情報は [Cordova ドキュメント](https://cordova.apache.org/docs/en/latest/config_ref/#widget) をご参照ください。
2626
27-
2. <strong>
28-
プロジェクトを <b>Xcode</b> で開く。
29-
</strong>
27+
<!-- prettier-ignore -->
28+
2. <strong>プロジェクトを <b>Xcode</b> で開く。</strong>
3029
3130
Capacitor の場合、以下を実行し Xcode でアプリケーションを開いてください:
3231
@@ -36,17 +35,13 @@ iOS デバイスでアプリケーションを実行するには、プロビジ
3635
3736
Cordova の場合、Xcode 開きます。**File** &raquo; **Open** からアプリケーションを見つけます。アプリケーション内の `platforms/ios` ディレクトリを開きます。
3837
39-
3. <strong>
40-
<b>プロジェクト ナビゲーター</b>で、プロジェクトのルートを選択しエディタでプロジェクトを開きます。 **Identity**
41-
セクションで、設定された Package ID がバンドル識別子と一致することを確認します。
42-
</strong>
38+
<!-- prettier-ignore -->
39+
3. <strong><b>プロジェクト ナビゲーター</b>で、プロジェクトのルートを選択しエディタでプロジェクトを開きます。 **Identity** セクションで、設定された Package ID がバンドル識別子と一致することを確認します。</strong>
4340
4441
![Xcode Identity Setup](/img/running/ios-xcode-identity-setup.png)
4542
46-
4. <strong>
47-
同じプロジェクトエディタの <b>署名</b> セクションで、<b>Automatically manage signing</b>
48-
有効になっていることを確認します。
49-
</strong> 次に、Team から開発チームを選択します。開発チームがあれば、Xcode は プロビジョニングと署名を自動的に準備しようとします。
43+
<!-- prettier-ignore -->
44+
4. <strong>同じプロジェクトエディタの <b>署名</b> セクションで、<b>Automatically manage signing</b> が 有効になっていることを確認します。</strong> 次に、Team から開発チームを選択します。開発チームがあれば、Xcode は プロビジョニングと署名を自動的に準備しようとします。
5045
5146
![Xcode Signing Setup](/img/running/ios-xcode-signing-setup.png)
5247

docs/updating/4-0.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: Updating to v4
33
---
44

5+
import Tabs from '@theme/Tabs';
6+
import TabItem from '@theme/TabItem';
7+
58
# Updating to Ionic 4
69

710
## Updating from Ionic 3 to 4

docs/vue/slides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Migrating From ion-slides to Swiper.js
1010
/>
1111
</head>
1212

13-
:::caution Looking for `ion-slides`?
13+
:::warning Looking for `ion-slides`?
1414
`ion-slides` was deprecated in v6.0.0 and removed in v7.0.0. We recommend using the Swiper.js library directly. The migration process is detailed below.
1515
:::
1616

docs/vue/virtual-scroll.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 仮想スクロール
22

3-
:::caution Looking for `ion-virtual-scroll`?
3+
:::warning Looking for `ion-virtual-scroll`?
44

55
`ion-virtual-scroll` was deprecated in v6.0.0 and removed in v7.0.0. We recommend using a Vue library to accomplish this. We outline one approach using `vue-virtual-scroller` below.
66

docs/vue/your-first-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Here’s the finished app running on all 3 platforms:
1919
width="560"
2020
height="315"
2121
src="https://www.youtube.com/embed/0ASQ13Y1Rk4"
22-
frameborder="0"
22+
frameBorder="0"
2323
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
2424
allowfullscreen
2525
></iframe>

docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ module.exports = {
280280
},
281281
prism: {
282282
theme: { plain: {}, styles: [] },
283-
// https://github.com/FormidableLabs/prism-react-renderer/blob/5a1c93592c6475fb230bfcb8a9666b72b331638b/packages/generate-prism-languages/index.ts#L9-L24
283+
// https://github.com/FormidableLabs/prism-react-renderer/blob/e6d323332b0363a633407fabab47b608088e3a4d/packages/generate-prism-languages/index.ts#L9-L25
284284
additionalLanguages: ['shell-session', 'http'],
285285
},
286286
algolia: {

0 commit comments

Comments
 (0)