diff --git a/docs/advanced/targeting.md b/docs/advanced/targeting.md index fa616456..2f360525 100644 --- a/docs/advanced/targeting.md +++ b/docs/advanced/targeting.md @@ -62,7 +62,7 @@ By adding multiple targeting rules you can create more complex rule sets. All other cases: OFF ### All other cases -This value will be served as a fallback if none of the above rules apply or a [`User Object`](user-object) was not passed to the [ConfigCat SDK](sdk-reference/overview.md) correctly within your application. +This value will be served as a fallback if none of the above rules apply or a [`User Object`](advanced/user-object.md) was not passed to the [ConfigCat SDK](sdk-reference/overview.md) correctly within your application. ## Targeting a percentage of users With percentage-based user targeting you can specify a randomly selected fraction of your users whom a feature will be enabled or a different value will be served. @@ -96,4 +96,4 @@ When the Setting Kind is *Text*, *Whole Number* or *Decimal Number* the maximum > The sum of all *% values* must be equal to 100. ### All other cases -This value will be served as a fallback if none of the above rules apply or a [`User Object`](user-object) was not passed to the [ConfigCat SDK](sdk-reference/overview.md) correctly within your application. +This value will be served as a fallback if none of the above rules apply or a [`User Object`](advanced/user-object.md) was not passed to the [ConfigCat SDK](sdk-reference/overview.md) correctly within your application. diff --git a/docs/sdk-reference/android.md b/docs/sdk-reference/android.md index aea0a7c9..a59c160b 100644 --- a/docs/sdk-reference/android.md +++ b/docs/sdk-reference/android.md @@ -89,7 +89,7 @@ ConfigCatClient.newBuilder() | --------------- | --------------------------------------------------------------------------------------------------------------- | | `classOfT` | **REQUIRED.** The type of the setting. | | `key` | **REQUIRED.** Setting-specific key. Set in *ConfigCat Management Console* for each setting. | -| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](../../advanced/targeting) +| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](advanced/targeting.md) | `defaultValue` | **REQUIRED.** This value will be returned in case of an error. | ```kotlin val value = client.getValue( diff --git a/docs/sdk-reference/csharp.md b/docs/sdk-reference/csharp.md index ff2dc4c3..058a3cb3 100644 --- a/docs/sdk-reference/csharp.md +++ b/docs/sdk-reference/csharp.md @@ -4,7 +4,7 @@ title: .NET (C#) --- ## Getting started: ### 1. Install *ConfigCat SDK* Nuget package -```PowerShell +```powershell Install-Package ConfigCat.Client ``` @@ -63,7 +63,7 @@ Creating the client is different for each polling mode. | -------------- | --------------------------------------------------------------------------------------------------------------- | | `key` | **REQUIRED.** Setting-specific key. Set in *ConfigCat Management Console* for each setting. | | `defaultValue` | **REQUIRED.** This value will be returned in case of an error. | -| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](../../advanced/targeting) | +| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](advanced/targeting.md) | ```csharp User userObject = new User("435170f4-8a8b-4b67-a723-505ac7cdea92"); client.GetValue("keyOfMySetting", false, userObject); diff --git a/docs/sdk-reference/go.md b/docs/sdk-reference/go.md index e8446016..14c64710 100644 --- a/docs/sdk-reference/go.md +++ b/docs/sdk-reference/go.md @@ -96,7 +96,7 @@ value := client.GetValue( | --------------- | --------------------------------------------------------------------------------------------------------------- | | `key` | Setting-specific key. Set in *ConfigCat Management Console* for each setting. | | `defaultValue` | This value will be returned in case of an error. | -| `user` | *User Object*. Essential when using Targeting. [Read more about Targeting.](../../advanced/targeting) | +| `user` | *User Object*. Essential when using Targeting. [Read more about Targeting.](advanced/targeting.md) | ```go value := client.GetValueForUser( "keyOfMySetting", // Setting Key diff --git a/docs/sdk-reference/ios.md b/docs/sdk-reference/ios.md index 234d8383..e7939629 100644 --- a/docs/sdk-reference/ios.md +++ b/docs/sdk-reference/ios.md @@ -70,7 +70,7 @@ client.getValueAsync(for: "key-of-my-awesome-feature", defaultValue: false, comp | --------------- | --------------------------------------------------------------------------------------------------------------- | | `key` | **REQUIRED.** Setting-specific key. Set in *ConfigCat Management Console* for each setting. | | `defaultValue` | **REQUIRED.** This value will be returned in case of an error. | -| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](../../advanced/targeting) | +| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](advanced/targeting.md) | ```swift let value = client.getValue( for: "keyOfMySetting", // Setting Key diff --git a/docs/sdk-reference/java.md b/docs/sdk-reference/java.md index 770cb550..0301836e 100644 --- a/docs/sdk-reference/java.md +++ b/docs/sdk-reference/java.md @@ -14,7 +14,7 @@ Maven: ``` Gradle: -``` +```bash implementation 'com.configcat:configcat-java-client:1.+' ``` ### 2. Import the ConfigCat SDK: @@ -83,7 +83,7 @@ ConfigCatClient.newBuilder() | --------------- | --------------------------------------------------------------------------------------------------------------- | | `classOfT` | **REQUIRED.** The type of the setting. | | `key` | **REQUIRED.** Setting-specific key. Set in *ConfigCat Management Console* for each setting. | -| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](../../advanced/targeting) +| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](advanced/targeting.md) | `defaultValue` | **REQUIRED.** This value will be returned in case of an error. | ```java Boolean value = client.getValue( @@ -261,7 +261,7 @@ Any time you want to refresh the cached configuration with the latest one, you c ## Sample Apps Check out our Sample Applications how they use the ConfigCat SDK * Simple Console Application -* Web Application with Dependency Injection that uses [ConfigCat Webhooks](../../advanced/notifications-webhooks) to get notified about configuration updates +* Web Application with Dependency Injection that uses [ConfigCat Webhooks](advanced/notifications-webhooks.md) to get notified about configuration updates Look under the hood * ConfigCat Java SDK's repository on Github diff --git a/docs/sdk-reference/js.md b/docs/sdk-reference/js.md index f7dafb17..f09bb678 100644 --- a/docs/sdk-reference/js.md +++ b/docs/sdk-reference/js.md @@ -62,7 +62,7 @@ Creating the client is different for each polling mode. | `key` | **REQUIRED.** Setting-specific key. Set in *ConfigCat Management Console* for each setting. | | `defaultValue` | **REQUIRED.** This value will be returned in case of an error. | | `callback` | **REQUIRED.** Called with the actual setting value. | -| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](../../advanced/targeting) | +| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](advanced/targeting.md) | ```js configCatClient.getValue( "keyOfMySetting", // Setting Key diff --git a/docs/sdk-reference/node.md b/docs/sdk-reference/node.md index d0debbc2..19d00d92 100644 --- a/docs/sdk-reference/node.md +++ b/docs/sdk-reference/node.md @@ -53,7 +53,7 @@ Creating the client is different for each polling mode. | `key` | **REQUIRED.** Setting-specific key. Set in *ConfigCat Management Console* for each setting. | | `defaultValue` | **REQUIRED.** This value will be returned in case of an error. | | `callback` | **REQUIRED.** Called with the actual setting value. | -| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](../../advanced/targeting) | +| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](advanced/targeting.md) | ```js configCatClient.getValue( "keyOfMySetting", // Setting Key diff --git a/docs/sdk-reference/php.md b/docs/sdk-reference/php.md index 1a7aa73d..d67706aa 100644 --- a/docs/sdk-reference/php.md +++ b/docs/sdk-reference/php.md @@ -4,7 +4,7 @@ title: PHP --- ## Getting started ### 1. Install the package with [Composer](https://getcomposer.org/) -```shell +```bash composer require configcat/configcat-client ``` @@ -57,7 +57,7 @@ $client = new \ConfigCat\ConfigCatClient("#YOUR-API-KEY#", [ | -------------- | ------------------------------------------------------------------------------------------------------------ | | `key` | **REQUIRED.** Setting-specific key. Set in *ConfigCat Management Console* for each setting. | | `defaultValue` | **REQUIRED.** This value will be returned in case of an error. | -| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](../../advanced/targeting) | +| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](advanced/targeting.md) | ```php $value = $client->getValue( "keyOfMySetting", # Setting Key diff --git a/docs/sdk-reference/python.md b/docs/sdk-reference/python.md index e7939aab..f89e62ef 100644 --- a/docs/sdk-reference/python.md +++ b/docs/sdk-reference/python.md @@ -55,7 +55,7 @@ Creating the client is different for each polling mode. | --------------- | --------------------------------------------------------------------------------------------------------------- | | `key` | **REQUIRED.** Setting-specific key. Set in *ConfigCat Management Console* for each setting. | | `default_value` | **REQUIRED.** This value will be returned in case of an error. | -| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](../../advanced/targeting) | +| `user` | Optional, *User Object*. Essential when using Targeting. [Read more about Targeting.](advanced/targeting.md) | ```python value = configcat_client.get_value( 'keyOfMySetting', # Setting Key