diff --git a/README.md b/README.md index 97911a9..e9f5fd5 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Discover how to use Clever Tools through [our documentation](docs/). ## Examples -Discover how to deploy many applications on Clever Cloud within [our guides](https://developers.clever-cloud.com/guides/). +Discover how to deploy many applications on Clever Cloud within [our guides](https://www.clever-cloud.com/developers/guides/). ## How to send feedback? diff --git a/docs/README.md b/docs/README.md index 452fa52..8bdaa96 100644 --- a/docs/README.md +++ b/docs/README.md @@ -93,5 +93,5 @@ clever profile -F json To use our public API, you need to be authenticated for most endpoints. If you're logged in through Clever Tools, there is a simple way to make any request you want: `clever curl`. It's `curl`, but in an authenticated context for Clever Cloud API. -- [Clever Cloud public APIv2 documentation](https://developers.clever-cloud.com/api/v2/) -- [Clever Cloud public APIv4 documentation](https://developers.clever-cloud.com/api/v4/) +- [Clever Cloud public APIv2 documentation](https://www.clever-cloud.com/developers/api/v2/) +- [Clever Cloud public APIv4 documentation](https://www.clever-cloud.com/developers/api/v4/) diff --git a/docs/addons-backups.md b/docs/addons-backups.md index 40a4b9f..1b642f2 100644 --- a/docs/addons-backups.md +++ b/docs/addons-backups.md @@ -63,7 +63,7 @@ clever addon env [--format, -F] FORMAT ADDON_ID For some add-ons, an interface URL, default credentials or other instructions can be displayed after creation. -If you're testing [Materia KV](https://developers.clever-cloud.com/doc/addons/materia-kv/), our next generation of serverless distributed database, synchronously-replicated, compatible with Redis protocol, you can create an add-on and immediately use it: +If you're testing [Materia KV](https://www.clever-cloud.com/developers/doc/addons/materia-kv/), our next generation of serverless distributed database, synchronously-replicated, compatible with Redis protocol, you can create an add-on and immediately use it: ``` clever addon create kv ADDON_NAME diff --git a/docs/applications-config.md b/docs/applications-config.md index 6d04ff0..9f63755 100644 --- a/docs/applications-config.md +++ b/docs/applications-config.md @@ -89,7 +89,7 @@ rm Remove a domain name from a Clever Cloud application ``` > [!TIP] -> You can set the same domain with multiple apps thanks to [prefix routing](https://developers.clever-cloud.com/doc/administrate/domain-names/#prefix-routing). For example, you can add `mydomain.com/app1` domain to an application and `mydomain.com/app2` to another. +> You can set the same domain with multiple apps thanks to [prefix routing](https://www.clever-cloud.com/developers/doc/administrate/domain-names/#prefix-routing). For example, you can add `mydomain.com/app1` domain to an application and `mydomain.com/app2` to another. To (un)set the favourite domain, use: @@ -151,4 +151,4 @@ clever tcp-redirs clever tcp-redirs --format json ``` -- [Learn more about TCP redirections](https://developers.clever-cloud.com/doc/administrate/tcp-redirections/) +- [Learn more about TCP redirections](https://www.clever-cloud.com/developers/doc/administrate/tcp-redirections/) diff --git a/docs/kv.md b/docs/kv.md index 53b53b5..ce2169f 100644 --- a/docs/kv.md +++ b/docs/kv.md @@ -1,6 +1,6 @@ # Clever KV -If you're using [Materia KV](https://developers.clever-cloud.com/doc/addons/materia-kv/), our next generation of key-value databases, serverless, distributed, synchronously-replicated, compatible with the RedisĀ® protocol (and later DynamoDB, GraphQL), you can easily create an add-on with Clever Tools: +If you're using [Materia KV](https://www.clever-cloud.com/developers/doc/addons/materia-kv/), our next generation of key-value databases, serverless, distributed, synchronously-replicated, compatible with the RedisĀ® protocol (and later DynamoDB, GraphQL), you can easily create an add-on with Clever Tools: ``` clever addon create kv ADDON_NAME diff --git a/src/commands/addon.js b/src/commands/addon.js index cf4baf6..3836377 100644 --- a/src/commands/addon.js +++ b/src/commands/addon.js @@ -152,7 +152,7 @@ function displayAddon (format, addon, providerName, message) { otoroshi: { status: 'beta', postCreateInstructions: [ - 'Learn more about Otoroshi with LLM on Clever Cloud: https://developers.clever-cloud.com/doc/addons/otoroshi/', + `Learn more about Otoroshi with LLM on Clever Cloud: ${conf.DOC_URL}/addons/otoroshi/`, ].join('\n'), }, 'addon-pulsar': { diff --git a/src/experimental-features.js b/src/experimental-features.js index 9b32318..4d67f94 100644 --- a/src/experimental-features.js +++ b/src/experimental-features.js @@ -11,7 +11,7 @@ export const EXPERIMENTAL_FEATURES = { clever kv myMateriaKV -o myOrg TTL myTempKey clever kv redis_xxxxx --org org_xxxxx PING - Learn more about Materia KV: https://developers.clever-cloud.com/doc/addons/materia-kv/ + Learn more about Materia KV: https://www.clever-cloud.com/developers/doc/addons/materia-kv/ `, }, }; diff --git a/src/models/configuration.js b/src/models/configuration.js index 6793020..d7886e3 100644 --- a/src/models/configuration.js +++ b/src/models/configuration.js @@ -133,8 +133,8 @@ export const conf = env.getOrElseAll({ CONFIGURATION_FILE: getConfigPath(CONFIG_FILES.MAIN), EXPERIMENTAL_FEATURES_FILE: getConfigPath(CONFIG_FILES.EXPERIMENTAL_FEATURES_FILE), - API_DOC_URL: 'https://developers.clever-cloud.com/api', - DOC_URL: 'https://developers.clever-cloud.com/doc', + API_DOC_URL: 'https://www.clever-cloud.com/developers/api', + DOC_URL: 'https://www.clever-cloud.com/developers/doc', CONSOLE_URL: 'https://console.clever-cloud.com', CONSOLE_TOKEN_URL: 'https://console.clever-cloud.com/cli-oauth', GOTO_URL: 'https://console.clever-cloud.com/goto',