-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(docusaurus): upgrade to v3 #3322
Changes from all commits
adeb295
61ecc2a
9e3165c
c0eac51
c28a1f8
e4ceb28
e5f1d15
6b3c75c
650eadb
6e0cdb9
aab8424
ab3fb4e
8afa52c
3258f67
b3c62be
b5ea741
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ See the [Standalone Migration Guide](#migrating-from-modules-to-standalone) for | |
|
||
### Usage with Standalone-based Applications | ||
|
||
:::caution | ||
:::warning | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Caution admonitions have been deprecated. It's recommended to use warning. |
||
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. | ||
::: | ||
|
||
|
@@ -177,7 +177,7 @@ export class HomePage {} | |
|
||
### Usage with NgModule-based Applications | ||
|
||
:::caution | ||
:::warning | ||
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. | ||
::: | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,9 @@ Here’s the finished app running on all 3 platforms: | |
width="560" | ||
height="315" | ||
src="https://www.youtube.com/embed/0ASQ13Y1Rk4" | ||
frameborder="0" | ||
frameBorder="0" | ||
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" | ||
allowfullscreen | ||
allowFullScreen | ||
Comment on lines
+22
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed to remove a console error in the browser. |
||
></iframe> | ||
|
||
:::note | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,9 +41,8 @@ Ionic apps are made of high-level building blocks called Components, which allow | |
</DocsCard> | ||
|
||
<DocsCard header="Card" href="api/card" icon="/icons/component-card-icon.png"> | ||
<p> | ||
Cards are a great way to display an important piece of content, and can contain images, buttons, text, and more. | ||
</p> | ||
<!-- prettier-ignore --> | ||
<p>Cards are a great way to display an important piece of content, and can contain images, buttons, text, and more.</p> | ||
Comment on lines
+44
to
+45
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MDX breaks when there are new lines within tags. Docusaurus recommends to either use |
||
</DocsCard> | ||
|
||
<DocsCard header="Checkbox" href="api/checkbox" icon="/icons/component-checkbox-icon.png"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
title: Updating to v4 | ||
--- | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
Comment on lines
+5
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These were missing to begin with. It was evident with the upgrade b/c it would break the site without them. |
||
|
||
# Updating to Ionic 4 | ||
|
||
## Updating from Ionic 3 to 4 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DocPage has been replaced by DocRoot. The name is the only change that happened in Docusaurus v3.