Skip to content

Commit 78a9870

Browse files
committed
Merge branch 'main' of github.com:ionic-team/ionic-docs
# Conflicts: # docs/deployment/desktop-app.md # docs/updating/7-0.md # docusaurus.config.js # versioned_docs/version-v6/reference/migration.md
2 parents 9bf4533 + 7485c05 commit 78a9870

File tree

11 files changed

+40
-630
lines changed

11 files changed

+40
-630
lines changed

docs/api/datetime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ const userTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
336336
const date = new Date('2014-10-25T10:46:20Z');
337337

338338
// Use date-fns-tz to convert from UTC to a zoned time
339-
const zonedTime = dateFnsTz.utcToZonedTime(date, userTimeZone);
339+
const zonedTime = utcToZonedTime(date, userTimeZone);
340340

341341
// Create a formatted string from the zoned time
342342
format(zonedTime, 'yyyy-MM-dd HH:mm:ssXXX', { timeZone: userTimeZone });

docs/contributing/coc.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ We promise to extend courtesy and respect to everyone involved in this project r
88

99
If any member of the community violates this code of conduct, the maintainers of the Ionic project may take action, removing issues, comments, and PRs or blocking accounts as deemed appropriate.
1010

11-
If you are subject to or witness unacceptable behavior, or have any other concerns, please email us at <a href="mailto:[email protected]">[email protected]</a>.
11+
If you are subject to or witness unacceptable behavior, or have any other concerns, please email us at <a href="mailto:[email protected]">[email protected]</a>.
12+
13+
Please click <a href="https://ionic.io/code-of-conduct" target="_blank" rel="noopener">here</a> to review to Ionic's full code of conduct.

docs/reference/support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ The current status of each Ionic Framework version is:
2222

2323
| Version | Status | Released | Maintenance Ends | Ext. Support Ends |
2424
| :-----: | :-------------------: | :----------: | :--------------: | :---------------: |
25-
| V7 | Beta | TBD | TBD | TBD |
26-
| V6 | **Active** | Dec 8, 2021 | TBD | TBD |
25+
| V7 | **Active** | Mar 29, 2023 | TBD | TBD |
26+
| V6 | Maintenance | Dec 8, 2021 | Sep 29, 2023 | Mar 29, 2024 |
2727
| V5 | End of Support | Feb 11, 2020 | June 8, 2022 | Dec 8, 2022 |
2828
| V4 | End of Support | Jan 23, 2019 | Aug 11, 2020 | Sept 30, 2022 |
2929
| V3 | End of Support | Apr 5, 2017 | Oct 30, 2019 | Aug 11, 2020 |

docs/updating/4-0.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ We suggest the following general process when migrating an existing application
3030

3131
In many cases, using the Ionic CLI to generate a new object and then copying the code also works very well. For example: `ionic g service weather` will create a shell `Weather` service and test. The code can then be copied from the older project with minor modifications as needed. This helps to ensure the proper structure is followed. This also generates shells for unit tests.
3232

33-
## Changes in Package Name
33+
### Changes in Package Name
3434

3535
In Ionic 4, the package name is `@ionic/angular`. Uninstall Ionic 3 and install Ionic 4 using the new package name:
3636

@@ -41,7 +41,7 @@ $ npm install @ionic/angular@v4-lts
4141

4242
While migrating an app, update the imports from `ionic-angular` to `@ionic/angular`.
4343

44-
## Project structure
44+
### Project structure
4545

4646
One of the major changes between an Ionic 3 app and an Ionic 4 app is the overall project layout and structure. In v3, Ionic apps had a custom convention for how an app should be set up and what that folder structure should look like. In v4, this has been changed to follow the recommended setup of each supported framework.
4747

@@ -133,19 +133,19 @@ See the following `ionic.config.json` as an example:
133133
}
134134
```
135135

136-
## RxJS Changes
136+
### RxJS Changes
137137

138138
Between V3 and V4, RxJS was updated to version 6. This changes many of the import paths of operators and core RxJS functions. Please see the <a href="https://github.com/ReactiveX/rxjs/blob/6.x/docs_app/content/guide/v6/migration.md" target="_blank">RxJS Migration Guide</a> for details.
139139

140-
## Lifecycle Events
140+
### Lifecycle Events
141141

142142
With V4, we're now able to utilize the typical events provided by [Angular](https://angular.io/guide/lifecycle-hooks). But for certain cases, you might want to have access to the events fired when a component has finished animating during its route change. In this case, the `ionViewWillEnter`, `ionViewDidEnter`, `ionViewWillLeave`, and `ionViewDidLeave` have been ported over from V3. Use these events to coordinate actions with Ionic's own animations system.
143143

144144
Older events like `ionViewDidLoad`, `ionViewCanLeave`, and `ionViewCanEnter` have been removed, and the proper Angular alternatives should be used.
145145

146146
For more details, check out the [router-outlet docs](../api/router-outlet.md)
147147

148-
## Overlay Components
148+
### Overlay Components
149149

150150
In prior versions of Ionic, overlay components such as Loading, Toast, or Alert were created synchronously. In Ionic v4, these components are all created asynchronously. As a result of this, the API is now promise-based.
151151

@@ -183,15 +183,15 @@ async showAlert() {
183183
}
184184
```
185185

186-
## Navigation
186+
### Navigation
187187

188188
In V4, navigation received the most changes. Now, instead of using Ionic's own `NavController`, we integrate with the official Angular Router. This not only provides a consistent routing experience across apps, but is much more dependable. The Angular team has an <a href="http://angular.io/guide/router" target="_blank">excellent guide</a> on their docs site that covers the Router in great detail.
189189

190190
To provide the platform-specific animations that users are used to, we have created `ion-router-outlet` for Angular Apps. This behaves in a similar manner to Angular's `router-outlet` but provides a stack-based navigation (tabs) and animations.
191191

192192
For a detailed explanation in navigation works in a V4 project, check out the [Angular navigation guide](../angular/navigation.md).
193193

194-
## Lazy Loading
194+
### Lazy Loading
195195

196196
Since Navigation has changed, the mechanism for lazy loading has also changed in V4.
197197

@@ -241,7 +241,7 @@ export class AppModule {}
241241

242242
For a detailed explanation of lazy loading in V4 project, check out the [Angular navigation guide](../angular/navigation.md#lazy-loading-routes).
243243

244-
## Markup Changes
244+
### Markup Changes
245245

246246
Since v4 moved to Custom Elements, there's been a significant change to the markup for each component. These changes have all been made to follow the Custom Elements spec, and have been documented in a <a href="https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md#breaking-changes" target="_blank">dedicated file on GitHub</a>.
247247

docs/updating/7-0.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This guide assumes that you have already updated your app to the latest version
99
:::
1010

1111
:::info Breaking Changes
12-
For a **complete list of breaking changes** from Ionic 6 to Ionic 7, please refer to [the breaking changes document](https://github.com/ionic-team/ionic-framework/blob/feature-7.0/BREAKING.md#version-7x) in the Ionic Framework repository.
12+
For a **complete list of breaking changes** from Ionic 6 to Ionic 7, please refer to [the breaking changes document](https://github.com/ionic-team/ionic-framework/blob/main/BREAKING.md#version-7x) in the Ionic Framework repository.
1313
:::
1414

1515
## はじめ方
@@ -26,13 +26,13 @@ npm install [email protected]
2626
3. Ionic 7の最新バージョンにアップデートしてください:
2727

2828
```shell
29-
npm install @ionic/angular@next
29+
npm install @ionic/angular@7
3030
```
3131

3232
Ionic Angular Serverを使用している場合は、必ずそちらも更新してください。
3333

3434
```shell
35-
npm install @ionic/angular@next @ionic/angular-server@next
35+
npm install @ionic/angular@7 @ionic/angular-server@7
3636
```
3737

3838
### React
@@ -46,7 +46,7 @@ npm install react@latest react-dom@latest
4646
2. Ionic 7の最新バージョンにアップデートします。
4747

4848
```shell
49-
npm install @ionic/react@next @ionic/react-router@next
49+
npm install @ionic/react@7 @ionic/react-router@7
5050
```
5151

5252
### Vue
@@ -60,15 +60,15 @@ npm install vue@latest vue-router@latest
6060
3. Ionic 7の最新バージョンにアップデートします。
6161

6262
```shell
63-
npm install @ionic/vue@next @ionic/vue-router@next
63+
npm install @ionic/vue@7 @ionic/vue-router@7
6464
```
6565

6666
### Core
6767

6868
1. Ionic 7の最新バージョンにアップデートします。
6969

7070
```shell
71-
npm install @ionic/core@next
71+
npm install @ionic/core@7
7272
```
7373

7474
## あなたのコードのアップデート
@@ -148,11 +148,7 @@ iOS >=14
148148

149149
## アップグレードに助けが必要?
150150

151-
[Ionic 7 Breaking Changes Guide](https://github.com/ionic-team/ionic-framework/blob/feature-7.0/BREAKING.md#version-7x) を必ず見てください。デフォルトのプロパティとCSS Variableの値について、開発者が注意する必要がある変更がいくつかありました。このページでは、ユーザーアクションが必要な変更点のみをリストアップしています。
151+
[Ionic 7 Breaking Changes Guide](https://github.com/ionic-team/ionic-framework/blob/main/BREAKING.md#version-7x) を必ず見てください。デフォルトのプロパティとCSS Variableの値について、開発者が注意する必要がある変更がいくつかありました。このページでは、ユーザーアクションが必要な変更点のみをリストアップしています。
152152

153-
<<<<<<< HEAD
154153
アップグレードのヘルプが必要な場合は、[Ionic Forum](https://forum.ionicframework.com/)にスレッドを投稿してください。
155154

156-
=======
157-
If you need help upgrading, please post a thread on the [Ionic Forum](https://forum.ionicframework.com/).
158-
>>>>>>> 3bd16bc620b471736c9f4ce90e2f3eae53781174

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ module.exports = {
100100
{
101101
type: 'cta',
102102
position: 'left',
103-
text: 'Ionic採用事例をみよう',
104-
href: `https://ionicframework.jp/case/`,
103+
text: 'Ionic v7 アップグレードガイド',
104+
href: `/updating/7-0`,
105105
},
106106
{
107107
type: 'docsVersionDropdown',

scripts/i18n.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
set -o errexit
33
set -o nounset
44

5-
if [ "${VERCEL_ENV:-preview}" == "production" ]; then
6-
mkdir -p i18n/ja/docusaurus-plugin-content-docs/version-v6/
7-
curl -fsSL https://github.com/ionic-team/ionic-docs/archive/refs/heads/translation/jp.tar.gz |
8-
tar -zxf - -C i18n/ja/docusaurus-plugin-content-docs/version-v6/ --strip-components 2 ionic-docs-translation-jp/docs
9-
node scripts/api-ja.js
10-
fi
5+
mkdir -p i18n/ja/docusaurus-plugin-content-docs/version-v6/
6+
curl -fsSL https://github.com/ionic-team/ionic-docs/archive/refs/heads/translation/jp.tar.gz |
7+
tar -zxf - -C i18n/ja/docusaurus-plugin-content-docs/version-v6/ --strip-components 2 ionic-docs-translation-jp/docs
8+
node scripts/api-ja.js

versioned_docs/version-v5/contributing/coc.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ We promise to extend courtesy and respect to everyone involved in this project r
88

99
If any member of the community violates this code of conduct, the maintainers of the Ionic project may take action, removing issues, comments, and PRs or blocking accounts as deemed appropriate.
1010

11-
If you are subject to or witness unacceptable behavior, or have any other concerns, please email us at <a href="mailto:[email protected]">[email protected]</a>.
11+
If you are subject to or witness unacceptable behavior, or have any other concerns, please email us at <a href="mailto:[email protected]">[email protected]</a>.
12+
13+
Please click <a href="https://ionic.io/code-of-conduct" target="_blank" rel="noopener">here</a> to review to Ionic's full code of conduct.

0 commit comments

Comments
 (0)