From 28fde9448430d20498b212ae191cec62b3464917 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 22 Mar 2023 16:22:13 -0400 Subject: [PATCH 1/3] update missing links --- docs/api/back-button.md | 2 +- versioned_docs/version-v5/theming/platform-styles.md | 4 ++-- versioned_docs/version-v6/angular/platform.md | 2 +- versioned_docs/version-v6/api/back-button.md | 2 +- versioned_docs/version-v6/intro/upgrading-to-ionic-6.md | 6 +++--- versioned_docs/version-v6/react/platform.md | 2 +- versioned_docs/version-v6/theming/platform-styles.md | 4 ++-- versioned_docs/version-v6/vue/platform.md | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/api/back-button.md b/docs/api/back-button.md index 6500a8ab781..c859c92f056 100644 --- a/docs/api/back-button.md +++ b/docs/api/back-button.md @@ -28,7 +28,7 @@ import Basic from '@site/static/usage/v7/back-button/basic/index.md'; ## Custom Back Button -By default, the back button will display the text `"Back"` with a `"chevron-back"` icon on `ios`, and an `"arrow-back-sharp"` icon on `md`. This can be customized per back button component by setting the `icon` or `text` properties. Alternatively, it can be set globally using the `backButtonIcon` or `backButtonText` properties in the global config. See the Config docs for [Angular](/docs/angular/config), [React](/docs/react/config), or [Vue](/docs/vue/config) for more information. +By default, the back button will display the text `"Back"` with a `"chevron-back"` icon on `ios`, and an `"arrow-back-sharp"` icon on `md`. This can be customized per back button component by setting the `icon` or `text` properties. Alternatively, it can be set globally using the `backButtonIcon` or `backButtonText` properties in the global config. See the [Config docs](/docs/developing/config) for more information. import Custom from '@site/static/usage/v7/back-button/custom/index.md'; diff --git a/versioned_docs/version-v5/theming/platform-styles.md b/versioned_docs/version-v5/theming/platform-styles.md index 2b863a225d5..664ee8bc73a 100644 --- a/versioned_docs/version-v5/theming/platform-styles.md +++ b/versioned_docs/version-v5/theming/platform-styles.md @@ -11,7 +11,7 @@ Ionic provides platform specific styles based on the device the application is r ## Ionic Modes -Ionic uses **modes** to customize the look of components. Each **platform** has a default **mode**, but this can be overridden through the global [config](../angular/config.md). The following chart displays the default **mode** that is added to each **platform**: +Ionic uses **modes** to customize the look of components. Each **platform** has a default **mode**, but this can be overridden through the global [config](../developing/config.md). The following chart displays the default **mode** that is added to each **platform**: | Platform | Mode | Description | | --------- | ----- | -------------------------------------------------------------------------------------------------------------------------------- | @@ -25,7 +25,7 @@ For example, an app being viewed on an Android platform will use the `md` (Mater ``` -_Note: The **platform** and the **mode** are not the same. The platform can be set to use any mode in the [config](../angular/config.md) of an app._ +_Note: The **platform** and the **mode** are not the same. The platform can be set to use any mode in the [config](../developing/config.md) of an app._ ## Overriding Mode Styles diff --git a/versioned_docs/version-v6/angular/platform.md b/versioned_docs/version-v6/angular/platform.md index ac957693971..9668f3632a1 100644 --- a/versioned_docs/version-v6/angular/platform.md +++ b/versioned_docs/version-v6/angular/platform.md @@ -63,7 +63,7 @@ Below is a table listing all the possible platform values along with correspondi #### Customizing Platform Detection Functions -The function used to detect a specific platform can be overridden by providing an alternative function in the global [Ionic config](./config). Each function takes `window` as a parameter and returns a boolean. +The function used to detect a specific platform can be overridden by providing an alternative function in the global [Ionic config](../developing/config). Each function takes `window` as a parameter and returns a boolean. ```tsx import { IonicModule } from '@ionic/angular'; diff --git a/versioned_docs/version-v6/api/back-button.md b/versioned_docs/version-v6/api/back-button.md index d74db2d2cfa..9b7671f8562 100644 --- a/versioned_docs/version-v6/api/back-button.md +++ b/versioned_docs/version-v6/api/back-button.md @@ -28,7 +28,7 @@ import Basic from '@site/static/usage/v6/back-button/basic/index.md'; ## Custom Back Button -By default, the back button will display the text `"Back"` with a `"chevron-back"` icon on `ios`, and an `"arrow-back-sharp"` icon on `md`. This can be customized per back button component by setting the `icon` or `text` properties. Alternatively, it can be set globally using the `backButtonIcon` or `backButtonText` properties in the global config. See the Config docs for [Angular](/docs/angular/config), [React](/docs/react/config), or [Vue](/docs/vue/config) for more information. +By default, the back button will display the text `"Back"` with a `"chevron-back"` icon on `ios`, and an `"arrow-back-sharp"` icon on `md`. This can be customized per back button component by setting the `icon` or `text` properties. Alternatively, it can be set globally using the `backButtonIcon` or `backButtonText` properties in the global config. See the [Config docs](/docs/developing/config) for more information. import Custom from '@site/static/usage/v6/back-button/custom/index.md'; diff --git a/versioned_docs/version-v6/intro/upgrading-to-ionic-6.md b/versioned_docs/version-v6/intro/upgrading-to-ionic-6.md index 95b39f2350d..25312444001 100644 --- a/versioned_docs/version-v6/intro/upgrading-to-ionic-6.md +++ b/versioned_docs/version-v6/intro/upgrading-to-ionic-6.md @@ -19,7 +19,7 @@ If you are using Ionic Angular Server, be sure to update that as well: npm install @ionic/angular@6 @ionic/angular-server@6 ``` -3. Remove any usage of `Config.set()`. Instead, set your config in `IonicModule.forRoot()`. See the [Angular Config Documentation](../angular/config) for more examples. +3. Remove any usage of `Config.set()`. Instead, set your config in `IonicModule.forRoot()`. See the [Config Documentation](../developing/config) for more examples. 4. Remove any usage of the `setupConfig` function previously exported from `@ionic/angular`. Set your config in `IonicModule.forRoot()` instead. ### React @@ -73,7 +73,7 @@ setupIonicReact({ Developers must import and call `setupIonicReact` even if they are not setting custom config. ::: -See the [React Config Documentation](../react/config) for more examples. +See the [Config Documentation](../developing/config) for more examples. 5. Update all controller imports from `@ionic/core` to `@ionic/core/components`. As an example, here is a migration for `menuController`: @@ -133,7 +133,7 @@ module.exports = { See the [Testing section below](#testing) for more information. -5. Remove any usage of the `setupConfig` function previously exported from `@ionic/vue`. Set your config when installing the `IonicVue` plugin instead. See the [Vue Config Documentation](../vue/config) for more examples. +5. Remove any usage of the `setupConfig` function previously exported from `@ionic/vue`. Set your config when installing the `IonicVue` plugin instead. See the [Config Documentation](../developing/config) for more examples. 6. Rename the `IonRouter` type for `useIonRouter` to `UseIonRouterResult`. diff --git a/versioned_docs/version-v6/react/platform.md b/versioned_docs/version-v6/react/platform.md index a58735d8609..eb391d04795 100644 --- a/versioned_docs/version-v6/react/platform.md +++ b/versioned_docs/version-v6/react/platform.md @@ -47,7 +47,7 @@ Below is a table listing all the possible platform values along with correspondi ## Customizing Platform Detection Functions -The function used to detect a specific platform can be overridden by providing an alternative function in the global [Ionic config](./config). Each function takes `window` as a parameter and returns a boolean. +The function used to detect a specific platform can be overridden by providing an alternative function in the global [Ionic config](../developing/config). Each function takes `window` as a parameter and returns a boolean. ```tsx setupIonicReact({ diff --git a/versioned_docs/version-v6/theming/platform-styles.md b/versioned_docs/version-v6/theming/platform-styles.md index f503b107c80..77d0a5665fc 100644 --- a/versioned_docs/version-v6/theming/platform-styles.md +++ b/versioned_docs/version-v6/theming/platform-styles.md @@ -14,7 +14,7 @@ Ionic provides platform specific styles based on the device the application is r ## Ionic Modes -Ionic uses **modes** to customize the look of components. Each **platform** has a default **mode**, but this can be overridden through the global [config](../angular/config.md). The following chart displays the default **mode** that is added to each **platform**: +Ionic uses **modes** to customize the look of components. Each **platform** has a default **mode**, but this can be overridden through the global [config](../developing/config.md). The following chart displays the default **mode** that is added to each **platform**: | Platform | Mode | Description | | --------- | ----- | -------------------------------------------------------------------------------------------------------------------------------- | @@ -28,7 +28,7 @@ For example, an app being viewed on an Android platform will use the `md` (Mater ``` -_Note: The **platform** and the **mode** are not the same. The platform can be set to use any mode in the [config](../angular/config.md) of an app._ +_Note: The **platform** and the **mode** are not the same. The platform can be set to use any mode in the [config](../developing/config.md) of an app._ ## Overriding Mode Styles diff --git a/versioned_docs/version-v6/vue/platform.md b/versioned_docs/version-v6/vue/platform.md index 11afbcf7c11..74900001f5d 100644 --- a/versioned_docs/version-v6/vue/platform.md +++ b/versioned_docs/version-v6/vue/platform.md @@ -47,7 +47,7 @@ Below is a table listing all the possible platform values along with correspondi ## Customizing Platform Detection Functions -The function used to detect a specific platform can be overridden by providing an alternative function in the global [Ionic config](./config). Each function takes `window` as a parameter and returns a boolean. +The function used to detect a specific platform can be overridden by providing an alternative function in the global [Ionic config](../developing/config). Each function takes `window` as a parameter and returns a boolean. ```tsx createApp(App).use(IonicVue, { From 22c8ad50d0213ed80abde43f5cc73c2f14fc527b Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 22 Mar 2023 20:25:00 +0000 Subject: [PATCH 2/3] revert v5 change --- versioned_docs/version-v5/theming/platform-styles.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versioned_docs/version-v5/theming/platform-styles.md b/versioned_docs/version-v5/theming/platform-styles.md index 664ee8bc73a..2b863a225d5 100644 --- a/versioned_docs/version-v5/theming/platform-styles.md +++ b/versioned_docs/version-v5/theming/platform-styles.md @@ -11,7 +11,7 @@ Ionic provides platform specific styles based on the device the application is r ## Ionic Modes -Ionic uses **modes** to customize the look of components. Each **platform** has a default **mode**, but this can be overridden through the global [config](../developing/config.md). The following chart displays the default **mode** that is added to each **platform**: +Ionic uses **modes** to customize the look of components. Each **platform** has a default **mode**, but this can be overridden through the global [config](../angular/config.md). The following chart displays the default **mode** that is added to each **platform**: | Platform | Mode | Description | | --------- | ----- | -------------------------------------------------------------------------------------------------------------------------------- | @@ -25,7 +25,7 @@ For example, an app being viewed on an Android platform will use the `md` (Mater ``` -_Note: The **platform** and the **mode** are not the same. The platform can be set to use any mode in the [config](../developing/config.md) of an app._ +_Note: The **platform** and the **mode** are not the same. The platform can be set to use any mode in the [config](../angular/config.md) of an app._ ## Overriding Mode Styles From 799e594add73bcecb3b1e0abe032e83229023f41 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 22 Mar 2023 20:27:10 +0000 Subject: [PATCH 3/3] back button link respects version --- docs/api/back-button.md | 2 +- versioned_docs/version-v6/api/back-button.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/back-button.md b/docs/api/back-button.md index c859c92f056..c215d43e671 100644 --- a/docs/api/back-button.md +++ b/docs/api/back-button.md @@ -28,7 +28,7 @@ import Basic from '@site/static/usage/v7/back-button/basic/index.md'; ## Custom Back Button -By default, the back button will display the text `"Back"` with a `"chevron-back"` icon on `ios`, and an `"arrow-back-sharp"` icon on `md`. This can be customized per back button component by setting the `icon` or `text` properties. Alternatively, it can be set globally using the `backButtonIcon` or `backButtonText` properties in the global config. See the [Config docs](/docs/developing/config) for more information. +By default, the back button will display the text `"Back"` with a `"chevron-back"` icon on `ios`, and an `"arrow-back-sharp"` icon on `md`. This can be customized per back button component by setting the `icon` or `text` properties. Alternatively, it can be set globally using the `backButtonIcon` or `backButtonText` properties in the global config. See the [Config docs](../developing/config) for more information. import Custom from '@site/static/usage/v7/back-button/custom/index.md'; diff --git a/versioned_docs/version-v6/api/back-button.md b/versioned_docs/version-v6/api/back-button.md index 9b7671f8562..10ad87c6f2a 100644 --- a/versioned_docs/version-v6/api/back-button.md +++ b/versioned_docs/version-v6/api/back-button.md @@ -28,7 +28,7 @@ import Basic from '@site/static/usage/v6/back-button/basic/index.md'; ## Custom Back Button -By default, the back button will display the text `"Back"` with a `"chevron-back"` icon on `ios`, and an `"arrow-back-sharp"` icon on `md`. This can be customized per back button component by setting the `icon` or `text` properties. Alternatively, it can be set globally using the `backButtonIcon` or `backButtonText` properties in the global config. See the [Config docs](/docs/developing/config) for more information. +By default, the back button will display the text `"Back"` with a `"chevron-back"` icon on `ios`, and an `"arrow-back-sharp"` icon on `md`. This can be customized per back button component by setting the `icon` or `text` properties. Alternatively, it can be set globally using the `backButtonIcon` or `backButtonText` properties in the global config. See the [Config docs](../developing/config) for more information. import Custom from '@site/static/usage/v6/back-button/custom/index.md';