Skip to content

Commit 825149d

Browse files
authored
[Docs Site] Fix-up TabItem labels and icons (#16099)
1 parent 8beee50 commit 825149d

File tree

198 files changed

+637
-637
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+637
-637
lines changed

src/content/docs/ai-gateway/configuration/caching.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ We plan on adding semantic search for caching in the future to improve cache hit
2323

2424
## Default configuration
2525

26-
<Tabs> <TabItem label="dashboard">
26+
<Tabs> <TabItem label="Dashboard">
2727

2828
To set the default caching configuration in the dashboard:
2929

@@ -33,7 +33,7 @@ To set the default caching configuration in the dashboard:
3333
4. Enable **Cache Responses**.
3434
5. Change the default caching to whatever value you prefer.
3535

36-
</TabItem> <TabItem label="api">
36+
</TabItem> <TabItem label="API">
3737

3838
To set the default caching configuration using the API:
3939

src/content/docs/ai-gateway/configuration/rate-limiting.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To illustrate this, let us say you had a limit of ten requests per ten minutes,
2020

2121
## Default configuration
2222

23-
<Tabs> <TabItem label="dashboard">
23+
<Tabs> <TabItem label="Dashboard">
2424

2525
To set the default rate limiting configuration in the dashboard:
2626

@@ -30,7 +30,7 @@ To set the default rate limiting configuration in the dashboard:
3030
4. Enable **Rate-limiting**.
3131
5. Adjust the rate, time period, and rate limiting method as desired.
3232

33-
</TabItem> <TabItem label="api">
33+
</TabItem> <TabItem label="API">
3434

3535
To set the default rate limiting configuration using the API:
3636

src/content/docs/ai-gateway/observability/analytics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Render, TabItem, Tabs } from "~/components"
1010

1111
## View analytics
1212

13-
<Tabs> <TabItem label="dashboard">
13+
<Tabs> <TabItem label="Dashboard">
1414

1515
<Render file="analytics-dashboard" />
1616

src/content/docs/argo-smart-routing/get-started.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Render, TabItem, Tabs } from "~/components"
1212

1313
Argo Smart Routing is a one-click solution to speed up your global traffic.
1414

15-
<Tabs> <TabItem label="dashboard">
15+
<Tabs> <TabItem label="Dashboard">
1616

1717
To enable [Argo Smart Routing](https://dash.cloudflare.com/?to=/:account/:zone/traffic) in the dashboard:
1818

@@ -25,7 +25,7 @@ To enable [Argo Smart Routing](https://dash.cloudflare.com/?to=/:account/:zone/t
2525

2626
* If you have a billing profile, confirm your billing information.
2727

28-
</TabItem> <TabItem label="api">
28+
</TabItem> <TabItem label="API">
2929

3030
To enable or disable Argo Smart Routing with the API, send a [`PATCH`](/api/operations/argo-smart-routing-patch-argo-smart-routing-setting) request with the `value` parameter set to your desired setting (`"on"` or `"off"`).
3131

src/content/docs/browser-rendering/get-started/screenshots.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ kv_namespaces = [
6565

6666
## 5. Code
6767

68-
<Tabs> <TabItem label="js">
68+
<Tabs> <TabItem label="JavaScript" icon="seti:javascript">
6969
Update `src/index.js` with your Worker code:
7070

7171
```js
@@ -103,7 +103,7 @@ export default {
103103
};
104104
```
105105

106-
</TabItem> <TabItem label="ts">
106+
</TabItem> <TabItem label="TypeScript" icon="seti:typescript">
107107
Update `src/worker.ts` with your Worker code:
108108

109109
```ts

src/content/docs/browser-rendering/platform/puppeteer.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ npm install @cloudflare/puppeteer --save-dev
2424

2525
Once the [browser binding](/browser-rendering/platform/wrangler/#bindings) is configured and the `@cloudflare/puppeteer` library is installed, Puppeteer can be used in a Worker:
2626

27-
<Tabs> <TabItem label="js">
27+
<Tabs> <TabItem label="JavaScript" icon="seti:javascript">
2828

2929
```js
3030
import puppeteer from "@cloudflare/puppeteer";
@@ -41,7 +41,7 @@ export default {
4141
};
4242
```
4343

44-
</TabItem> <TabItem label="ts">
44+
</TabItem> <TabItem label="TypeScript" icon="seti:typescript">
4545

4646
```ts
4747
import puppeteer from "@cloudflare/puppeteer";

src/content/docs/byoip/concepts/dynamic-advertisement/best-practices.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ Most dynamic advertisement operations require that you supply the Cloudflare ID
6262

6363
## Obtain prefix IDs
6464

65-
<Tabs> <TabItem label="dashboard">
65+
<Tabs> <TabItem label="Dashboard">
6666

6767
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
6868
2. Go to **IP Addresses** > **IP Prefixes**.
6969
3. Find the CIDR for which you want the prefix ID, and select the arrow next to it.
7070
4. The prefix ID is the value under **API Tag**. Select **Copy** to add the value to your clipboard.
7171

72-
</TabItem> <TabItem label="api">
72+
</TabItem> <TabItem label="API">
7373

7474
To obtain prefix IDs using the API, refer to the [list prefixes](/api/operations/ip-address-management-prefixes-list-prefixes) operation in the Cloudflare API.
7575

src/content/docs/cache/advanced-configuration/cache-reserve.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Cache Reserve is a usage-based product and [pricing](#pricing) is detailed below
2222

2323
A paid Cache Reserve Plan is required for the enablement.
2424

25-
<Tabs> <TabItem label="dashboard">
25+
<Tabs> <TabItem label="Dashboard">
2626

2727
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select a domain.
2828
2. Go to **Caching** > **Cache Reserve**.
2929
3. Select **Enable storage sync**.
3030

31-
</TabItem> <TabItem label="api">
31+
</TabItem> <TabItem label="API">
3232

3333
Refer to the [Change Cache Reserve setting API](/api/operations/zone-cache-settings-change-cache-reserve-setting) for more information.
3434

@@ -195,13 +195,13 @@ You can remove all data stored in Cache Reserve through the dashboard or via API
195195

196196
Be aware that the deletion may take up to 24 hours to complete.
197197

198-
<Tabs> <TabItem label="dashboard">
198+
<Tabs> <TabItem label="Dashboard">
199199

200200
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select a domain.
201201
2. Go to **Caching** > **Cache Reserve**.
202202
3. In **Delete Cache Reserve Data**, select **Delete Storage**.
203203

204-
</TabItem> <TabItem label="api">
204+
</TabItem> <TabItem label="API">
205205

206206
To delete Cache Reserve data via API use the following example requests. For more information, refer to the [API documentation](/api/operations/zone-cache-settings-start-cache-reserve-clear).
207207

src/content/docs/cache/how-to/cache-rules/page-rules-migration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Multiple matching cache rules can be combined and applied to the same request. A
2121

2222
## Rule 1
2323

24-
<Tabs> <TabItem label="dashboard">
24+
<Tabs> <TabItem label="Dashboard">
2525

2626
1. Enter a rule name, for instance `bypass everything`.
2727
2. In **When incoming requests match**, select **All incoming requests**.
@@ -35,7 +35,7 @@ Multiple matching cache rules can be combined and applied to the same request. A
3535

3636
## Rule 2
3737

38-
<Tabs> <TabItem label="dashboard">
38+
<Tabs> <TabItem label="Dashboard">
3939

4040
1. Enter a rule name, for instance `cache all default cacheable extensions`.
4141
2. In **When incoming requests match**, select **Custom filter expression**.

src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/domain-support/create-custom-hostnames.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ There are several required steps before a custom hostname can become active. For
1414

1515
To create a custom hostname:
1616

17-
<Tabs> <TabItem label="dashboard">
17+
<Tabs> <TabItem label="Dashboard">
1818

1919
<Render file="create-custom-hostname" />
2020

2121
<Render file="create-custom-hostname-limitations" />
2222

23-
</TabItem> <TabItem label="api">
23+
</TabItem> <TabItem label="API">
2424

2525
<Render file="create-custom-hostname-api" />
2626

0 commit comments

Comments
 (0)