Skip to content

Commit 76315f7

Browse files
fix(gen): fix 404s / 200 w/o anchors (#4559)
* fix(gen): fix 404s / 200 w/o anchors * fix(gen): update
1 parent 9f85a5d commit 76315f7

File tree

16 files changed

+45
-37
lines changed

16 files changed

+45
-37
lines changed

macros/developer-tools/scaleway-environment-variables.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
macro: scaleway-environment-variables
33
---
44

5-
# Reserved environment variables
5+
## Reserved environment variables
66

77
The following standardized Scaleway environment variables are used for the CLI and API.
88

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
meta:
3+
title: &title Billing - Troubleshooting
4+
description: &desc Billing Troubleshooting
5+
content:
6+
h1: *title
7+
paragraph: *desc
8+
---

pages/components/docs-editor.mdx

+14-14
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ content:
9090
productLogo="cli"
9191
title="CLI"
9292
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
93-
url="/foo/dd"
93+
url="/#"
9494
label="Link"
9595
/>
9696
```
@@ -100,7 +100,7 @@ content:
100100
productLogo="cli"
101101
title="CLI"
102102
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
103-
url="/foo/dd"
103+
url="/#"
104104
label="Link"
105105
/>
106106

@@ -114,7 +114,7 @@ content:
114114

115115
title="CLI"
116116
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
117-
url="/foo/dd"
117+
url="/#"
118118
label="Link"
119119
/>
120120
```
@@ -124,7 +124,7 @@ content:
124124
<ClickableBanner
125125
title="CLI"
126126
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
127-
url="/foo/dd"
127+
url="/#"
128128
label="Link"
129129
/>
130130

@@ -257,15 +257,15 @@ Example using `DefaultCard` in `Grid` wrapper.
257257

258258
```jsx
259259
<HelpBanner
260-
url="https://console.scaleway.com/support/tickets"
260+
url="/#"
261261
title = 'Still need help?'
262262
/>
263263
```
264264

265265
**Render**
266266

267267
<HelpBanner
268-
url="https://console.scaleway.com/support/tickets"
268+
url="/#"
269269
title = 'Still need help?'
270270
/>
271271

@@ -422,7 +422,7 @@ Props:
422422
productName="Instances"
423423
productLogo="instances"
424424
description="Lorem ipsum..."
425-
url="/instances/quickstart"
425+
url="/#"
426426
label="Instances quickstart"
427427
/>
428428
```
@@ -433,7 +433,7 @@ Props:
433433
productName="ProductHeader"
434434
productLogo="cli"
435435
description="ProductName quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
436-
url="/instances/quickstart"
436+
url="/#"
437437
label="Instances quickstart"
438438
/>
439439

@@ -442,7 +442,7 @@ Props:
442442
<ProductHeader
443443
productName="ProductHeader"
444444
description="ProductName quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
445-
url="/instances/quickstart"
445+
url="/#"
446446
label="Instances quickstart"
447447
/>
448448

@@ -463,7 +463,7 @@ The `icon` names are not random ones they come from Ultraviolet lib.
463463
icon="rocket"
464464
description="lorem ipsum dolor sit amet, consectetur adipiscing elit in in part of the description"
465465
label="Read More"
466-
url="/hello/foo/"
466+
url="/#"
467467
/>
468468
```
469469

@@ -475,31 +475,31 @@ The `icon` names are not random ones they come from Ultraviolet lib.
475475
icon="rocket"
476476
description="Learn how to create, manage and delete a Kubernetes cluster in a few steps."
477477
label="Read More"
478-
url="/elastic-metal/quickstart/"
478+
url="/#"
479479
/>
480480

481481
<SummaryCard
482482
title="Concepts"
483483
icon="information-outline"
484484
description="Core concepts that give you a better understanding of Kubernetes Kapsule and Kosmos."
485485
label="Read More"
486-
url="/secret-manager/concepts/"
486+
url="/#"
487487
/>
488488

489489
<SummaryCard
490490
title="How-tos"
491491
icon="help-circle-outline"
492492
description="Check our guides to creating and managing Kubernetes clusters and their features."
493493
label="Read More"
494-
url="/secret-manager/how-to/create-version/"
494+
url="/#"
495495
/>
496496

497497
<SummaryCard
498498
title="Reference content"
499499
icon="book-open-outline"
500500
description="Guides to help you configuring your cluster and its advanced configuration."
501501
label="Read More"
502-
url="/secret-manager/reference-content/data-encryption-with-secret-manager/"
502+
url="/#"
503503
/>
504504
</Grid>
505505

pages/components/docs.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -746,19 +746,19 @@ The above text come from a macro!
746746
- Choose an **Availability Zone**, which is the geographical region where your Instance will be deployed.
747747
- Choose an **Image** to run on your Instance. This can be an operating system, an InstantApp or a custom image. A complete list of all available Linux distributions and InstantApps can be found [here](https://www.scaleway.com/en/imagehub/).
748748
<Message type="note">
749-
When choosing an image for an Enterprise Instance, be aware this Instance type is not compatible with bootscripts, except for [rescue mode](/instances/how-to/use-boot-modes#how-to-use-rescue-mode). InstantApps are also not available for this Instance type.
749+
When choosing an image for an Enterprise Instance, be aware this Instance type is not compatible with bootscripts, except for [rescue mode](/instances/how-to/use-boot-modes/#how-to-use-rescue-mode). InstantApps are also not available for this Instance type.
750750
</Message>
751751
- Choose an **Instance type**. Different Instance types have different prices, processing power, memory, storage options and bandwidth.
752752
- Add **Volumes**. Volumes are storage spaces used by your Instances.
753-
- For **GP1 Instances** you can leave the default settings of a maximum local storage, or choose how much [local](/instances/concepts#local-volumes) and/or [block](/instances/concepts#block-volumes) storage you want. Your **system volume** is the volume on which your Instance will boot. The system volume can be either a local or a block volume.
753+
- For **GP1 Instances** you can leave the default settings of a maximum local storage, or choose how much [local](/instances/concepts/#local-volumes) and/or [block](/instances/concepts/#block-volumes) storage you want. Your **system volume** is the volume on which your Instance will boot. The system volume can be either a local or a block volume.
754754
- **PRO2** and **Enterprise** Instances boot directly [on block volumes](/instances/concepts/#boot-on-block). You can add several block volumes and define how much storage you want for each.
755755
<Message type="important">
756756
Please note that:
757757
- a volume with an OS image should be at least 10GB (125GB for a GPU OS).
758758
- if several Block Storage volumes are connected to your Instance, the first volume will contain the OS and is required to boot the Instance. You can [change your boot volume](/instances/how-to/use-boot-modes/#how-to-change-the-boot-volume) after you create the Instance.
759759
- if you have two or more volumes with identical operating systems, or a volume with no operating system, choosing one of these as your boot volume may cause unpredictable boot behavior.
760760
</Message>
761-
- Enter a **Name** for your Instance, or leave the randomly-generated name in place. Optionally, you can also add [tags](/instances/concepts#tags) to help you organize your Instance.
761+
- Enter a **Name** for your Instance, or leave the randomly-generated name in place. Optionally, you can also add [tags](/instances/concepts/#tags) to help you organize your Instance.
762762
- Click **Advanced Options** if you want to configure a [flexible IP](/instances/concepts#flexible-ip), a local bootscript or a [cloud-init configuration](/instances/concepts#cloud-init). Otherwise, leave these options at their default values.
763763
- Verify the [SSH Keys](/account/concepts#ssh-key) that will give you access to your Instance.
764764
- Verify the **Estimated Cost** of your Instance, based on the specifications you chose.

pages/generative-apis/reference-content/adding-ai-to-intellij-using-continue.mdx

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This guide will help you integrate AI-powered code models into JetBrain's Intell
2121
- A valid [API key](/iam/how-to/create-api-keys/) for API authentication
2222
- Installed [IntelliJ IDEA](https://www.jetbrains.com/idea/) on your local machine.
2323

24-
## Install Continue in IntelliJ IDEA
24+
2525

2626
You can install Continue from the [JetBrains marketplace](https://plugins.jetbrains.com/plugin/22707-continue):
2727

@@ -30,9 +30,9 @@ You can install Continue from the [JetBrains marketplace](https://plugins.jetbra
3030
3. Search for **Continue** and click **Install**.
3131
4. Restart IntelliJ IDEA after installation.
3232

33-
### Configure Continue to use Scaleway’s Generative APIs
33+
## Configure Continue to use Scaleway’s Generative APIs
3434

35-
#### Configure Continue through the graphical interface
35+
### Configure Continue through the graphical interface
3636

3737
To link Continue with Scaleway's Generative APIs, you can use built-in menus from Continue in IntelliJ IDEA.
3838

@@ -51,7 +51,7 @@ These actions will edit automatically your `config.json` file. To edit it manual
5151
Embeddings and autocomplete models are not yet supported through graphical interface configuration. To enable them, you need to edit the configuration manually, see [Configure Continue through configuration file](#configure-continue-through-configuration-file).
5252
</Message>
5353

54-
#### Configure Continue through configuration file
54+
### Configure Continue through configuration file
5555

5656
To link Continue with Scaleway’s Generative APIs, you need to configure the settings file:
5757

@@ -90,7 +90,7 @@ To link Continue with Scaleway’s Generative APIs, you need to configure the se
9090
If you want to limit access to a specific Scaleway Project, you should add the field `"apiBase": "https://api.scaleway.ai/###PROJECT_ID###/v1/"` for each model (ie. `models`, `embeddingsProvider` and `tabAutocompleteModel`) since the default URL `https://api.scaleway.ai/v1/` can only be used with the `default` project.
9191
</Message>
9292

93-
### Activate Continue in IntelliJ IDEA
93+
## Activate Continue in IntelliJ IDEA
9494

9595
After configuring the API, activate Continue in IntelliJ IDEA:
9696

@@ -101,7 +101,7 @@ After configuring the API, activate Continue in IntelliJ IDEA:
101101
Enabling tab completion **may lead to higher token consumption** as the model generates predictions for every keystroke. Be mindful of your API usage and adjust settings accordingly to avoid unexpected costs. For more information, refer to the [official Continue documentation](https://docs.continue.dev/reference#tabautocompleteoptions).
102102
</Message>
103103

104-
### Going further
104+
## Going further
105105

106106
You can add additional parameters to configure your model behaviour by editing `config.json`.
107107
For instance, you can add the following `systemMessage` value to modify LLM messages `"role":"system"` and/or `"role":"developer"` and provide less verbose answers:

pages/gpu/how-to/use-pipenv.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Pipenv is a powerful package and dependency manager for Python projects. It comb
3333

3434
## Accessing the preinstalled Pipenv virtual environment
3535

36-
Refer to our [dedicated documentation](/gpu/how-to/use-preinstalled-env/#working-with-the-preinstalled-environment-on-ubuntu-focal-gpu-os-11) on how to access the Pipenv virtual environment from your Scaleway GPU Instance.
36+
Refer to our [dedicated documentation](/gpu/how-to/use-preinstalled-env/#working-with-the-preinstalled-environment-on-ubuntu-focal-gpu-os-12) on how to access the Pipenv virtual environment from your Scaleway GPU Instance.
3737

3838
## Managing packages with Pipenv
3939

pages/gpu/how-to/use-preinstalled-env.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ GPU Instances have different types of preinstalled environments, depending on th
1919
|:----------------------:|:------------------:|:---------------------------------------------------------------:|------------------------------------------------|
2020
| Ubuntu Focal GPU OS 12 | Latest | Nvidia drivers, Nvidia Docker environment (launch Docker container to access working environment) | Pipenv virtual environment accessed via Docker |
2121

22-
Using the latest Ubuntu Focal GPU OS11 image gives you a minimal OS installation on which you can [launch](/gpu/how-to/use-gpu-with-docker/) one of our ready-made [Docker images](/gpu/reference-content/docker-images/). This gives you access to a preinstalled Python environment managed with pipenv. A number of useful AI core packages and tools are installed, including `scipy`, `numpy`, `scikit-learn`, `jupyter`, `tensorflow`, and the Scaleway SDK. Depending on the [Docker image you choose](/gpu/reference-content/docker-images/), other packages and tools will also be preinstalled, providing a convenient framework environment for you so that you can begin work immediately.
22+
Using the latest Ubuntu Focal GPU OS12 image gives you a minimal OS installation on which you can [launch](/gpu/how-to/use-gpu-with-docker/) one of our ready-made [Docker images](/gpu/reference-content/docker-images/). This gives you access to a preinstalled Python environment managed with pipenv. A number of useful AI core packages and tools are installed, including `scipy`, `numpy`, `scikit-learn`, `jupyter`, `tensorflow`, and the Scaleway SDK. Depending on the [Docker image you choose](/gpu/reference-content/docker-images/), other packages and tools will also be preinstalled, providing a convenient framework environment for you so that you can begin work immediately.
2323

2424
<Macro id="requirements" />
2525

pages/managed-databases-for-postgresql-and-mysql/reference-content/pg-version-updates.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ Refer to the official [Error reporting and logging](https://www.postgresql.org/d
8888
- `pg_stat_statements.track`
8989
- `pg_stat_statements.track_utility`
9090

91-
Refer to the official [PG stats parameters](ttps://www.postgresql.org/docs/16/pgstatstatements.html#PGSTATSTATEMENTS-CONFIG-PARAMS) PostgreSQL documentation for more information.
91+
Refer to the official [PG stats parameters](https://www.postgresql.org/docs/16/pgstatstatements.html#PGSTATSTATEMENTS-CONFIG-PARAMS) PostgreSQL documentation for more information.
9292

pages/serverless-containers/how-to/deploy-container.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can deploy a container from the [Scaleway Container Registry](/container-reg
5858
- Tick the box under **HTTPS connections only** to prevent your container from being called from insecure HTTP connections.
5959
</TabsTab>
6060
<TabsTab label="Requests">
61-
- Set a custom [timeout](/serverless-containers/concepts/#timeout) for the duration of the requests received by your container.
61+
- Set a custom [timeout](/serverless-containers/concepts/#request-timeout) for the duration of the requests received by your container.
6262
- Tick the box under [HTTP protocol](/serverless-containers/concepts/#protocol) to listen to HTTP/2 requests if it is required by your application. Otherwise, we recommend you use HTTP/1.
6363
</TabsTab>
6464
<TabsTab label="Performances">
@@ -121,7 +121,7 @@ Private external container registries are currently not supported.
121121
- Tick the box under **HTTPS connections only** to prevent your container from being called from insecure HTTP connections.
122122
</TabsTab>
123123
<TabsTab label="Requests">
124-
- Set a custom [timeout](/serverless-containers/concepts/#timeout) for the duration of the requests received by your container.
124+
- Set a custom [timeout](/serverless-containers/concepts/#request-timeout) for the duration of the requests received by your container.
125125
- Tick the box under [HTTP protocol](/serverless-containers/concepts/#protocol) to listen to HTTP/2 requests if it is required by your application. Otherwise, we recommend you use HTTP/1.
126126
</TabsTab>
127127
<TabsTab label="Performances">

pages/serverless-containers/how-to/manage-a-container.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This page shows you how to manage a container, in order to verify or edit its de
4949
- Tick the box under **HTTPS connections only** to prevent your container from being called from insecure HTTP connections.
5050
</TabsTab>
5151
<TabsTab label="Requests">
52-
- Set a custom [timeout](/serverless-containers/concepts/#timeout) for the duration of the requests received by your container.
52+
- Set a custom [timeout](/serverless-containers/concepts/#request-timeout) for the duration of the requests received by your container.
5353
- Tick the box under [HTTP protocol](/serverless-containers/concepts/#protocol) to listen to HTTP/2 requests if it is required by your application. Otherwise, we recommend you use HTTP/1.
5454
</TabsTab>
5555
<TabsTab label="Performances">
@@ -94,7 +94,7 @@ This page shows you how to manage a container, in order to verify or edit its de
9494
- Tick the box under **HTTPS connections only** to prevent your container from being called from insecure HTTP connections.
9595
</TabsTab>
9696
<TabsTab label="Requests">
97-
- Set a custom [timeout](/serverless-containers/concepts/#timeout) for the duration of the requests received by your container.
97+
- Set a custom [timeout](/serverless-containers/concepts/#request-timeout) for the duration of the requests received by your container.
9898
- Tick the box under [HTTP protocol](/serverless-containers/concepts/#protocol) to listen to HTTP/2 requests if it is required by your application. Otherwise, we recommend you use HTTP/1.
9999
</TabsTab>
100100
<TabsTab label="Performances">

pages/serverless-functions/how-to/create-a-function.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories:
1313
- serverless
1414
---
1515

16-
This page shows you how to deploy a [function](/serverless-functions/concepts/#function) using the Scaleway console.
16+
This page shows you how to deploy a [function](/serverless-functions/concepts/#serverless-functions) using the Scaleway console.
1717

1818
<Macro id="requirements" />
1919

pages/serverless-functions/how-to/create-manage-delete-functions-namespace.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ categories:
1515

1616
This page shows you how to create, manage, and delete a Functions namespace using the Scaleway console.
1717

18-
[Namespaces](/serverless-functions/concepts/#namespace) allow you to group your [functions](/serverless-functions/concepts/#function) and share environment variables, secrets and tokens between them.
18+
[Namespaces](/serverless-functions/concepts/#namespace) allow you to group your [functions](/serverless-functions/concepts/#serverless-functions) and share environment variables, secrets and tokens between them.
1919

2020
<Macro id="requirements" />
2121

pages/serverless-functions/quickstart.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories:
1313
- serverless
1414
---
1515

16-
Scaleway Serverless Functions makes your [functions](/serverless-functions/concepts/#function) available, executes them on demand and manages resource allocation for you.
16+
Scaleway Serverless Functions makes your [functions](/serverless-functions/concepts/#serverless-functions) available, executes them on demand and manages resource allocation for you.
1717

1818
Functions are designed for lightweight and short-lived workloads, and are limited to [a selection of runtimes](/serverless-functions/reference-content/functions-runtimes/#available-runtimes) for optimum performance.
1919

pages/vpc/reference-content/use-case-basic.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This is a basic infrastructure to leverage VPC isolation:
3535
- Administrators can access the Instances via the [Public Gateway](/public-gateways/concepts/#public-gateway).
3636
- External services are accessed by the Instances via the Public Gateway.
3737

38-
Full [Terraform/OpenTofu templates](#terraform) are available for this infrastructure.
38+
Full [Terraform/OpenTofu templates](##terraformopentofu) are available for this infrastructure.
3939

4040
## Detail
4141

tutorials/create-serverless-scraping/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ We start by creating the scraper program, or the "data producer".
4545
3. Create a subdirectory `handlers` within the `scraper` directory, and add a `scrape_hn.py` file inside it.
4646
4. Complete the `scrape_hn.py` file by adding the function code [as shown in the repository](https://github.com/scaleway/serverless-examples/blob/main/mnq/serverless-scraping/scraper/handlers/scrape_hn.py). The main code blocks are briefly explained as follows:
4747

48-
Queue credentials and URL are read by the function from environment variables. Those variables are set by Terraform/OpenTofu as explained in [one of the next sections](#create-a-terraform-file-to-provision-the-necessary-scaleway-resources). *If you choose another deployment method, such as the [console](https://console.scaleway.com/), do not forget to set them.*
48+
Queue credentials and URL are read by the function from environment variables. Those variables are set by Terraform/OpenTofu as explained in [one of the next sections](#create-a-terraformopentofu-file-to-provision-the-necessary-scaleway-resources). *If you choose another deployment method, such as the [console](https://console.scaleway.com/), do not forget to set them.*
4949
```python
5050
queue_url = os.getenv('QUEUE_URL')
5151
sqs_access_key = os.getenv('SQS_ACCESS_KEY')

0 commit comments

Comments
 (0)