Skip to content

docs(many): update config links #2846

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

Merged
merged 3 commits into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/back-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -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](../developing/config) for more information.

import Custom from '@site/static/usage/v7/back-button/custom/index.md';

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v6/angular/platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v6/api/back-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -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](../developing/config) for more information.

import Custom from '@site/static/usage/v6/back-button/custom/index.md';

Expand Down
6 changes: 3 additions & 3 deletions versioned_docs/version-v6/intro/upgrading-to-ionic-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`:

Expand Down Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v6/react/platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-v6/theming/platform-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| --------- | ----- | -------------------------------------------------------------------------------------------------------------------------------- |
Expand All @@ -28,7 +28,7 @@ For example, an app being viewed on an Android platform will use the `md` (Mater
<html class="md"></html>
```

_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

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v6/vue/platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down