Skip to content

Commit

Permalink
docs: update Clever Cloud documentation URL
Browse files Browse the repository at this point in the history
  • Loading branch information
hsablonniere committed Dec 18, 2024
1 parent 70f8aba commit 7928df2
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion docs/addons-backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/applications-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion docs/kv.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/commands/addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down
2 changes: 1 addition & 1 deletion src/experimental-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/
`,
},
};
4 changes: 2 additions & 2 deletions src/models/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 7928df2

Please sign in to comment.