diff --git a/docs/developing/config.mdx b/docs/developing/config.mdx index 1621e9199da..e584060cbba 100644 --- a/docs/developing/config.mdx +++ b/docs/developing/config.mdx @@ -14,7 +14,7 @@ The available config keys can be found in the [`IonicConfig`](#ionicconfig) inte The following example disables ripple effects and default the mode to Material Design: -import GlobalExample from '@site/docs/developing/config/_global.mdx'; +import GlobalExample from './config/_global.mdx'; @@ -22,7 +22,7 @@ import GlobalExample from '@site/docs/developing/config/_global.mdx'; Ionic Config is not reactive. Updating the config's value after the component has rendered will result in the previous value. It is recommended to use a component's properties instead of updating the config, when you require reactive values. -import PerComponentExample from '@site/docs/developing/config/_per-component.mdx'; +import PerComponentExample from './config/_per-component.mdx'; @@ -32,7 +32,7 @@ Ionic Config can also be set on a per-platform basis. For example, this allows y In the following example, we are disabling all animations in our Ionic app only if the app is running in a mobile web browser. -import PerPlatformExample from '@site/docs/developing/config/_per-platform.mdx'; +import PerPlatformExample from './config/_per-platform.mdx'; @@ -40,7 +40,7 @@ import PerPlatformExample from '@site/docs/developing/config/_per-platform.mdx'; The next example allows you to set an entirely different configuration based upon the platform, falling back to a default config if no platforms match: -import PerPlatformFallbackExample from '@site/docs/developing/config/_per-platform-overrides.mdx'; +import PerPlatformFallbackExample from './config/_per-platform-fallback.mdx'; @@ -48,7 +48,7 @@ import PerPlatformFallbackExample from '@site/docs/developing/config/_per-platfo This final example allows you to accumulate a config object based upon different platform requirements. -import PerPlatformOverridesExample from '@site/docs/developing/config/_per-platform-fallback.mdx'; +import PerPlatformOverridesExample from './config/_per-platform-overrides.mdx'; diff --git a/versioned_docs/version-v7/developing/config.mdx b/versioned_docs/version-v7/developing/config.mdx index d3fec5b9391..52ed4b9d35e 100644 --- a/versioned_docs/version-v7/developing/config.mdx +++ b/versioned_docs/version-v7/developing/config.mdx @@ -13,7 +13,7 @@ The available config keys can be found in the [`IonicConfig`](#ionicconfig) inte The following example disables ripple effects and default the mode to Material Design: -import GlobalExample from '@site/docs/developing/config/_global.mdx'; +import GlobalExample from './config/_global.mdx'; @@ -21,7 +21,7 @@ import GlobalExample from '@site/docs/developing/config/_global.mdx'; Ionic Config is not reactive. Updating the config's value after the component has rendered will result in the previous value. It is recommended to use a component's properties instead of updating the config, when you require reactive values. -import PerComponentExample from '@site/docs/developing/config/_per-component.mdx'; +import PerComponentExample from './config/_per-component.mdx'; @@ -31,7 +31,7 @@ Ionic Config can also be set on a per-platform basis. For example, this allows y In the following example, we are disabling all animations in our Ionic app only if the app is running in a mobile web browser. -import PerPlatformExample from '@site/docs/developing/config/_per-platform.mdx'; +import PerPlatformExample from './config/_per-platform.mdx'; @@ -39,7 +39,7 @@ import PerPlatformExample from '@site/docs/developing/config/_per-platform.mdx'; The next example allows you to set an entirely different configuration based upon the platform, falling back to a default config if no platforms match: -import PerPlatformFallbackExample from '@site/docs/developing/config/_per-platform-overrides.mdx'; +import PerPlatformFallbackExample from './config/_per-platform-fallback.mdx'; @@ -47,7 +47,7 @@ import PerPlatformFallbackExample from '@site/docs/developing/config/_per-platfo This final example allows you to accumulate a config object based upon different platform requirements. -import PerPlatformOverridesExample from '@site/docs/developing/config/_per-platform-fallback.mdx'; +import PerPlatformOverridesExample from './config/_per-platform-overrides.mdx'; diff --git a/versioned_docs/version-v7/developing/config/global/index.mdx b/versioned_docs/version-v7/developing/config/_global.mdx similarity index 100% rename from versioned_docs/version-v7/developing/config/global/index.mdx rename to versioned_docs/version-v7/developing/config/_global.mdx diff --git a/versioned_docs/version-v7/developing/config/per-component/index.mdx b/versioned_docs/version-v7/developing/config/_per-component.mdx similarity index 100% rename from versioned_docs/version-v7/developing/config/per-component/index.mdx rename to versioned_docs/version-v7/developing/config/_per-component.mdx diff --git a/versioned_docs/version-v7/developing/config/per-platform-fallback/index.mdx b/versioned_docs/version-v7/developing/config/_per-platform-fallback.mdx similarity index 100% rename from versioned_docs/version-v7/developing/config/per-platform-fallback/index.mdx rename to versioned_docs/version-v7/developing/config/_per-platform-fallback.mdx diff --git a/versioned_docs/version-v7/developing/config/per-platform-overrides/index.mdx b/versioned_docs/version-v7/developing/config/_per-platform-overrides.mdx similarity index 100% rename from versioned_docs/version-v7/developing/config/per-platform-overrides/index.mdx rename to versioned_docs/version-v7/developing/config/_per-platform-overrides.mdx diff --git a/versioned_docs/version-v7/developing/config/per-platform/index.mdx b/versioned_docs/version-v7/developing/config/_per-platform.mdx similarity index 100% rename from versioned_docs/version-v7/developing/config/per-platform/index.mdx rename to versioned_docs/version-v7/developing/config/_per-platform.mdx diff --git a/versioned_docs/version-v8/developing/config.mdx b/versioned_docs/version-v8/developing/config.mdx index 4be6dc38823..22d5a2be2c7 100644 --- a/versioned_docs/version-v8/developing/config.mdx +++ b/versioned_docs/version-v8/developing/config.mdx @@ -14,7 +14,7 @@ The available config keys can be found in the [`IonicConfig`](#ionicconfig) inte The following example disables ripple effects and default the mode to Material Design: -import GlobalExample from '@site/docs/developing/config/_global.mdx'; +import GlobalExample from './config/_global.mdx'; @@ -22,7 +22,7 @@ import GlobalExample from '@site/docs/developing/config/_global.mdx'; Ionic Config is not reactive. Updating the config's value after the component has rendered will result in the previous value. It is recommended to use a component's properties instead of updating the config, when you require reactive values. -import PerComponentExample from '@site/docs/developing/config/_per-component.mdx'; +import PerComponentExample from './config/_per-component.mdx'; @@ -32,7 +32,7 @@ Ionic Config can also be set on a per-platform basis. For example, this allows y In the following example, we are disabling all animations in our Ionic app only if the app is running in a mobile web browser. -import PerPlatformExample from '@site/docs/developing/config/_per-platform.mdx'; +import PerPlatformExample from './config/_per-platform.mdx'; @@ -40,7 +40,7 @@ import PerPlatformExample from '@site/docs/developing/config/_per-platform.mdx'; The next example allows you to set an entirely different configuration based upon the platform, falling back to a default config if no platforms match: -import PerPlatformFallbackExample from '@site/docs/developing/config/_per-platform-overrides.mdx'; +import PerPlatformFallbackExample from './config/_per-platform-fallback.mdx'; @@ -48,7 +48,7 @@ import PerPlatformFallbackExample from '@site/docs/developing/config/_per-platfo This final example allows you to accumulate a config object based upon different platform requirements. -import PerPlatformOverridesExample from '@site/docs/developing/config/_per-platform-fallback.mdx'; +import PerPlatformOverridesExample from './config/_per-platform-overrides.mdx';