Skip to content

Commit

Permalink
fixes broken links + fixes 'Language does not exist' errors
Browse files Browse the repository at this point in the history
  • Loading branch information
david-zoltan committed Sep 17, 2019
1 parent 198bedc commit a09b245
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions docs/advanced/targeting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion docs/sdk-reference/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk-reference/csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: .NET (C#)
---
## Getting started:
### 1. Install *ConfigCat SDK* <a href="https://www.nuget.org/packages/ConfigCat.Client" target="_blank">Nuget</a> package
```PowerShell
```powershell
Install-Package ConfigCat.Client
```

Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk-reference/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk-reference/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/sdk-reference/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Maven:
</dependency>
```
Gradle:
```
```bash
implementation 'com.configcat:configcat-java-client:1.+'
```
### 2. Import the ConfigCat SDK:
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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
* <a href="https://github.com/ConfigCat/java-sdk/tree/master/samples/console" target="_blank">Simple Console Application</a>
* <a href="https://github.com/ConfigCat/java-sdk/tree/master/samples/web" target="_blank">Web Application</a> with Dependency Injection that uses [ConfigCat Webhooks](../../advanced/notifications-webhooks) to get notified about configuration updates
* <a href="https://github.com/ConfigCat/java-sdk/tree/master/samples/web" target="_blank">Web Application</a> with Dependency Injection that uses [ConfigCat Webhooks](advanced/notifications-webhooks.md) to get notified about configuration updates

Look under the hood
* <a href="https://github.com/ConfigCat/java-sdk" target="_blank">ConfigCat Java SDK's repository on Github</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk-reference/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk-reference/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk-reference/php.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: PHP
---
## Getting started
### 1. Install the package with [Composer](https://getcomposer.org/)
```shell
```bash
composer require configcat/configcat-client
```

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk-reference/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a09b245

Please sign in to comment.