Skip to content

Commit 79cc8b2

Browse files
dcpenaToriLindsay
andauthored
DashButton for Partial files and some misc (cloudflare#25045)
* Partials & straggler - dash button * Added DashButton * More DashButton additions * Apply suggestion from @ToriLindsay Co-authored-by: ToriLindsay <[email protected]> --------- Co-authored-by: ToriLindsay <[email protected]>
1 parent 5bbfe61 commit 79cc8b2

25 files changed

+144
-52
lines changed

src/content/docs/fundamentals/manage-domains/pause-cloudflare.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ title: Pause Cloudflare
44

55
---
66

7+
import { DashButton } from "~/components";
8+
79
To troubleshoot your site, you can pause Cloudflare globally. This will send traffic directly to your origin web server instead of Cloudflare's reverse proxy. Paused domains also cannot use Cloudflare services like [Rules](/rules/), [WAF](/waf/), and [SSL/TLS certificates](/ssl/edge-certificates/). Consider turning on [Development Mode](/fundamentals/manage-domains/pause-cloudflare/#enable-development-mode) to bypass caching while preserving protection.
810

9-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
11+
1. Log in to the Cloudflare dashboard and select your account and domain.
12+
13+
<DashButton url="/?to=/:account/home" />
1014

1115
2. Within **Overview**, choose **Advanced Actions** > **Pause Cloudflare on Site**.
1216

src/content/docs/fundamentals/performance/preparing-for-surges-or-spikes-in-web-traffic.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ title: Prepare for surges or spikes in web traffic
44

55
---
66

7+
import { DashButton } from "~/components";
8+
79
## Use Cloudflare Cache features to optimize caching
810

911
By default, Cloudflare [caches static content](/cache/concepts/default-cache-behavior/) such as images, CSS, and JavaScript. However, you can extend Cloudflare caching to work with HTML by creating custom [Cache Rules](/cache/how-to/cache-rules/).
1012

1113
### Cache more requests
1214

13-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
15+
1. Log in to the Cloudflare dashboard and select your account and domain.
16+
17+
<DashButton url="/?to=/:account/home" />
1418

1519
2. Go to **Caching****Cache Rules** and select **Create rule**.
1620

src/content/docs/network-error-logging/get-started.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ pcx_content_type: get-started
44

55
---
66

7+
import { DashButton } from "~/components";
8+
79
Network Error Logging is available to users on all plan types.
810

911
To enable Network Error Logging for Free and Pro zones:
1012

11-
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/).
13+
1. Log in to your Cloudflare dashboard.
14+
15+
<DashButton url="/?to=/:account/home" />
16+
1217
2. Select **Network** and locate **Network Error Logging Monitoring**.
1318
3. Select the toggle to enable Network Error Logging.
1419

src/content/docs/network-error-logging/how-to.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,19 @@ description: NEL reports show you why a request failed, the country a request
1010

1111
---
1212

13+
import { DashButton } from "~/components";
14+
1315
Use NEL reports to view information such as:
1416

1517
* Why a request failed
1618
* The country a request failed from
1719
* The last mile network a request failed from
1820
* The Cloudflare data center the request was most likely meant for
1921

20-
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/).
22+
1. Log in to your Cloudflare dashboard.
23+
24+
<DashButton url="/?to=/:account/home" />
25+
2126
2. Select **Analytics & Logs** > **Edge Reachability**.
2227

2328
Click a tab under **Reachability summary** to view specific information related to your Origin ASN, Origin, IP, or data center. Hover over a location on the map to view the number of reachable requests.

src/content/docs/terraform/tutorial/initialize-terraform.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ head:
88
content: Introduction to Terraform init
99
---
1010

11-
import { Render } from "~/components";
11+
import { DashButton, Render } from "~/components";
1212

1313
This tutorial shows you how to get started with Terraform. You just signed up your domain (`example.com`) on Cloudflare to manage everything in Terraform and now you will create a DNS record pointing `www.example.com` to a web server at `203.0.113.10`.
1414

@@ -177,4 +177,6 @@ To see the full results returned from the API call:
177177
terraform show
178178
```
179179

180-
You can also check the [Cloudflare dashboard](https://dash.cloudflare.com) and go to **DNS** > **Records**.
180+
You can also check the Cloudflare dashboard and go to **DNS** > **Records**.
181+
182+
<DashButton url="/?to=/:account/home" />

src/content/docs/version-management/how-to/compare-versions.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,18 @@ sidebar:
66

77
---
88

9+
import { DashButton } from "~/components";
10+
911
Quickly view differences between versions to make sure your configurations are correct before [promoting a version](/version-management/how-to/environments/#change-environment-version) to a new environment.
1012

1113
A common use case would be to compare the versions in staging and production to verify the changes before promoting the staging version to production.
1214

1315
To compare versions:
1416

15-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
17+
1. Log in to the Cloudflare dashboard.
18+
19+
<DashButton url="/?to=/:account/home" />
20+
1621
2. Select your account and zone.
1722
3. Go to **Version Management** > **Comparisons**.
1823
4. Select two different versions.

src/content/docs/version-management/how-to/versions.mdx

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

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

1010
<Render file="version-definition" product="version-management" />
1111

@@ -20,7 +20,10 @@ If you need to test out different implementations of configurations at the same
2020

2121
To create a new version:
2222

23-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login).
23+
1. Log in to the Cloudflare dashboard.
24+
25+
<DashButton url="/?to=/:account/home" />
26+
2427
2. Select your account and zone.
2528
3. Go to **Version Management**.
2629
4. On an existing version, select **Clone**. This will copy over all configurations from that version.

src/content/partials/cloudflare-for-platforms/create-custom-hostname.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33

44
---
55

6-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
6+
import { DashButton } from "~/components";
7+
8+
1. Log in to the Cloudflare dashboard and select your account.
9+
10+
<DashButton url="/?to=/:account/home" />
11+
712
2. Select your Cloudflare for SaaS application.
813
3. Navigate to **SSL/TLS** > **Custom Hostnames**.
914
4. Click **Add Custom Hostname**.

src/content/partials/cloudflare-for-platforms/delete-custom-hostname-dash.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33

44
---
55

6-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and website.
6+
import { DashButton } from "~/components";
7+
8+
1. Log in to the Cloudflare dashboard and select your account and website.
9+
10+
<DashButton url="/?to=/:account/home" />
711

812
2. Select **SSL/TLS** > **Custom Hostnames**.
913

src/content/partials/cloudflare-for-platforms/txt-validation_dashboard.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33

44
---
55

6-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
6+
import { DashButton } from "~/components";
7+
8+
1. Log in to the Cloudflare dashboard and select your account.
9+
10+
<DashButton url="/?to=/:account/home" />
11+
712
2. Select your Cloudflare for SaaS application.
813
3. Navigate to **SSL/TLS** > **Custom Hostnames**.
914
4. Select a hostname.

0 commit comments

Comments
 (0)