Skip to content

Commit 7155951

Browse files
authored
Random updates for the DashButton. (#25021)
1 parent 887d3a7 commit 7155951

File tree

5 files changed

+50
-25
lines changed

5 files changed

+50
-25
lines changed

src/content/docs/autorag/get-started.mdx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ head:
99
Description: Get started creating fully-managed, retrieval-augmented generation pipelines with Cloudflare AutoRAG.
1010
---
1111

12+
import { DashButton } from "~/components";
13+
1214
AutoRAG allows developers to create fully managed retrieval-augmented generation (RAG) pipelines to power AI applications with accurate and up-to-date information without needing to manage infrastructure.
1315

1416
## 1. Upload data or use existing data in R2
@@ -21,7 +23,10 @@ Before you create your first bucket, you must purchase R2 from the Cloudflare da
2123

2224
To create and upload objects to your bucket from the Cloudflare dashboard:
2325

24-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/r2) and select **R2**.
26+
1. In the Cloudflare dashboard, go to the **R2** page.
27+
28+
<DashButton url="/?to=/:account/r2/overview" />
29+
2530
2. Select Create bucket, name the bucket, and select **Create bucket**.
2631
3. Choose to either drag and drop your file into the upload area or **select from computer**. Review the [file limits](/autorag/configuration/data-source/) when creating your knowledge base.
2732

@@ -31,7 +36,10 @@ _If you need inspiration for what document to use to make your first AutoRAG, tr
3136

3237
To create a new AutoRAG:
3338

34-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/ai/autorag) and select **AI** > **AutoRAG**.
39+
1. In the Cloudflare dashboard, go to the **AutoRAG* page.
40+
41+
<DashButton url="/?to=/:account/ai/autorag" />
42+
3543
2. Select **Create AutoRAG**, configure the AutoRAG, and complete the setup process.
3644
3. Select **Create**.
3745

@@ -49,7 +57,7 @@ To monitor the indexing progress:
4957
Once indexing is complete, you can run your first query:
5058

5159
1. From the **AutoRAG** page in the dashboard, locate and select your AutoRAG.
52-
2. Navigate to the **Playground** page.
60+
2. Navigate to the **Playground** tab.
5361
3. Select **Search with AI** or **Search**.
5462
4. Enter a **query** to test out its response.
5563

src/content/docs/autorag/usage/rest-api.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
WranglerConfig,
1515
MetaInfo,
1616
Type,
17+
DashButton
1718
} from "~/components";
1819

1920
This guide will instruct you through how to use the AutoRAG REST API to make a query to your AutoRAG.
@@ -22,9 +23,12 @@ This guide will instruct you through how to use the AutoRAG REST API to make a q
2223

2324
You need an API token with the `AutoRAG - Read` and `AutoRAG Edit` permissions to use the REST API. To create a new token:
2425

25-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
26-
2. Go to **AI** > **AutoRAG** and select your AutoRAG.
27-
3. Select **Use AutoRAG** then select **API**.
26+
1. In the Cloudflare dashboard, go to the **AutoRAG** page.
27+
28+
<DashButton url="/?to=/:account/ai/autorag" />
29+
30+
2. Select your AutoRAG.
31+
3. Select **Use AutoRAG** and then select **API**.
2832
4. Select **Create an API Token**.
2933
5. Review the prefilled information then select **Create API Token**.
3034
6. Select **Copy API Token** and save that value for future use.

src/content/docs/developer-spotlight/tutorials/create-sitemap-from-sanity-cms.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spotlight:
1515
author_bio_source: LinkedIn
1616
---
1717

18-
import { TabItem, Tabs, WranglerConfig, PackageManagers } from "~/components";
18+
import { TabItem, Tabs, WranglerConfig, PackageManagers, DashButton } from "~/components";
1919

2020
In this tutorial, you will put together a Cloudflare Worker that creates and serves a sitemap using data from [Sanity.io](https://www.sanity.io), a headless CMS.
2121

@@ -318,17 +318,19 @@ In this step, you will make the Worker available on a new subdomain using a buil
318318

319319
One of the benefits of using a subdomain is that you do not have to worry about this sitemap conflicting with your root domain's sitemap, since both are probably using the `/sitemap.xml` path.
320320

321-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
321+
1. In the Cloudflare dashboard, go to the **Workers & Pages** page.
322322

323-
2. In Account Home, select **Workers & Pages**, and then select your Worker.
323+
<DashButton url="/?to=/:account/workers-and-pages" />
324324

325-
3. Go to **Settings** > **Triggers** > **Custom Domains** > **Add Custom Domain**.
325+
2. Select your Worker.
326+
327+
3. Go to **Settings** > **Domains & Routes** and select **Add** > ** Custom domain.
326328

327329
4. Enter the domain or subdomain you want to configure for your Worker.
328330

329331
For this tutorial, use a subdomain on the domain that is in your sitemap. For example, if your sitemap outputs URLs like `www.example.com` then a suitable subdomain is `cms.example.com`.
330332

331-
5. Select **Add Custom Domain**.
333+
5. Select **Add domain**.
332334

333335
After adding the subdomain, Cloudflare automatically adds the proper DNS record binding the Worker to the subdomain.
334336

src/content/docs/magic-transit/partners/kentik.mdx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ sidebar:
66

77
---
88

9+
import { DashButton } from "~/components";
10+
911
Kentik is a network observability company that helps detect attacks on your network and triggers Cloudflare's Magic Transit to begin advertisement. Together, Kentik and Magic Transit On Demand work to create a fully SaaS-based, DDoS protection solution to help you mitigate attacks and protect your network automatically.
1012

1113
In this tutorial, the example scenario includes two mitigations, one which pulls the advertisement from the router and a second mitigation that makes an API call to Cloudflare to begin advertising the prefixes from Cloudflare's global network.
@@ -44,8 +46,11 @@ For additional information about Kentik and Magic Transit, refer to [Kentik's Ma
4446

4547
## Access Cloudflare account
4648

47-
1. Log in to your [Cloudflare account](https://dash.cloudflare.com), and select your account.
48-
2. Select **IP Addresses** > **BYOIP Prefixes**.
49+
1. In the Cloudflare dashboard, go to the **IP Addresses** page.
50+
51+
<DashButton url="/?to=/:account/ip-addresses/proxy-ips" />
52+
53+
2. Select **BYOIP Prefixes**.
4954
3. Referring to the example scenario, the prefix protected by Cloudflare displays a **Withdrawn** status.
5055

5156
After a DDoS attacks occurs, the status changes to **Advertised** which indicates the network is protected.
@@ -54,4 +59,6 @@ For additional information about Kentik and Magic Transit, refer to [Kentik's Ma
5459

5560
For a detailed view of actions taken and attack types, you can use the **Network Analytics** dashboard. For more information about Network Analytics, refer to [Network Analytics](/analytics/network-analytics/).
5661

57-
From your Cloudflare dashboard, select **Analytics & Logs** > **Network Analytics**.
62+
In the Cloudflare dashboard, go to the **Network Analytics** page.
63+
64+
<DashButton url="/?to=/:account/network-analytics" />

src/content/docs/network-interconnect/monitoring-and-alerts.mdx

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 5
66
---
77

8-
import { Render } from "~/components"
8+
import { Render, DashButton } from "~/components"
99

1010
You can configure notifications for upcoming CNI maintenance events using the Notifications feature in the Cloudflare dashboard. It is recommended to subscribe to two types of notifications to stay fully informed.
1111

@@ -23,20 +23,24 @@ You can configure notifications for upcoming CNI maintenance events using the No
2323

2424
### Enable CNI Connection Maintenance Alert (beta)
2525

26-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
27-
2. Go to **Notifications**.
28-
3. Select **Add**.
29-
4. From the product drop-down menu, select **Cloudflare Network Interconnect**.
30-
5. Select **Connection Maintenance Alert**.
31-
6. Give your notification a name and an optional description.
32-
7. Choose your preferred notification method (for example, email address).
33-
8. Select **Save**.
26+
1. In the Cloudflare dashboard, go to the **Notifications** page.
27+
28+
<DashButton url="/?to=/:account/notifications" />
29+
30+
2. Select **Add**.
31+
3. From the product drop-down menu, select **Cloudflare Network Interconnect**.
32+
4. Select **Connection Maintenance Alert**.
33+
5. Give your notification a name and an optional description.
34+
6. Choose your preferred notification method (for example, email address).
35+
7. Select **Save**.
3436

3537
### Enable Cloudflare Status Maintenance Notification
3638

3739
1. First, identify the PoP code for your CNI circuit:
38-
- Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
39-
- Navigate to **Magic Transit / WAN > Configuration > Interconnects**.
40+
- In the Cloudflare dashboard, go to the **Configuration** page in Magic Transit or Magic WAN.
41+
- For Magic Transit: <DashButton url="/?to=/:account/magic-transit/configuration" />
42+
- For Magic WAN: <DashButton url="/?to=/:account/magic-wan/configuration" />
43+
- Select the **Interconnects** tab.
4044
- Select the CNI you want to enable notifications for.
4145
- In the menu that appears, note the Data Center code (for example, `gru-b`).
4246
2. Now, configure the alert:

0 commit comments

Comments
 (0)