Skip to content

Commit 7fe989d

Browse files
committed
fix indent
1 parent fc6c7db commit 7fe989d

File tree

9 files changed

+20
-31
lines changed

9 files changed

+20
-31
lines changed

src/content/docs/cloudflare-one/tutorials/entra-id-risky-users.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ pcx_content_type: tutorial
66
title: Isolate risky Entra ID users
77
---
88

9+
import { WranglerConfig } from "~/components";
10+
11+
912
Microsoft Entra ID (formerly Azure Active Directory) calculates a user's [risk level](https://learn.microsoft.com/entra/id-protection/howto-identity-protection-investigate-risk) based on the probability that their account has been compromised. With Cloudflare Zero Trust, you can synchronize the Entra ID risky users list with Cloudflare Access and apply more stringent Zero Trust policies to users at higher risk.
1013

1114
This tutorial demonstrates how to automatically redirect users to a remote browser when they are deemed risky by Entra ID.
@@ -83,7 +86,6 @@ To get started quickly, deploy our example Cloudflare Workers script by followin
8386
- `<TENANT_ID>`: your Entra ID **Directory (tenant) ID**, obtained when [setting up Entra ID as an identity provider](#1-set-up-entra-id-as-an-identity-provider).
8487
- `<CLIENT_ID>`: your Entra ID **Application (client) ID**, obtained when [setting up Entra ID as an identity provider](#1-set-up-entra-id-as-an-identity-provider).
8588

86-
import { WranglerConfig } from "~/components";
8789

8890
<WranglerConfig>
8991

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ sidebar:
77
---
88

99
import {
10-
Render,
11-
PackageManagers,
12-
Steps,
13-
FileTree,
14-
Tabs,
15-
TabItem,
16-
TypeScriptExample
10+
Render,
11+
PackageManagers,
12+
Steps,
13+
FileTree,
14+
Tabs,
15+
TabItem,
16+
TypeScriptExample,
17+
WranglerConfig
1718
} from "~/components";
1819

1920
This guide instructs you through:
@@ -176,8 +177,6 @@ You create bindings by updating your `wrangler.toml` file.
176177
1. Copy the lines obtained from [step 2](/d1/get-started/#2-create-a-database) from your terminal.
177178
2. Add them to the end of your `wrangler.toml` file.
178179

179-
import { WranglerConfig } from "~/components";
180-
181180
<WranglerConfig>
182181

183182
```toml

src/content/docs/d1/tutorials/build-an-api-to-access-d1/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ languages:
1313
- SQL
1414
---
1515

16-
import { Render, PackageManagers, Steps, Details } from "~/components";
16+
import { Render, PackageManagers, Steps, Details, WranglerConfig } from "~/components";
1717

1818
In this tutorial, you will learn how to create an API that allows you to securely run queries against a D1 database.
1919

@@ -223,8 +223,6 @@ Make a note of the displayed `database_name` and `database_id`. You will use thi
223223
1. From your `d1-http` folder, open the `wrangler.toml` file, Wrangler's configuration file.
224224
2. Add the following binding in the file. Make sure that the `database_name` and the `database_id` are correct.
225225

226-
import { WranglerConfig } from "~/components";
227-
228226
<WranglerConfig>
229227

230228
```toml

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

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

8-
import { Render, PackageManagers, Steps, FileTree, Details, Tabs, TabItem } from "~/components";
8+
import { Render, PackageManagers, Steps, FileTree, Details, Tabs, TabItem, WranglerConfig } from "~/components";
99

1010
Workers KV provides low-latency, high-throughput global storage to your [Cloudflare Workers](/workers/) applications. Workers KV is ideal for storing user configuration data, routing data, A/B testing configurations and authentication tokens, and is well suited for read-heavy workloads.
1111

@@ -163,8 +163,6 @@ To bind your KV namespace to your Worker:
163163
<Steps>
164164
1. In your `wrangler.toml` file, add the following with the values generated in your terminal from [step 2](/kv/get-started/#2-create-a-kv-namespace):
165165

166-
import { WranglerConfig } from "~/components";
167-
168166
<WranglerConfig>
169167

170168
```toml

src/content/docs/workers/configuration/sites/start-from-existing.mdx

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

8-
import { Render, TabItem, Tabs } from "~/components";
8+
import { Render, TabItem, Tabs, WranglerConfig } from "~/components";
99

1010
<Render file="workers_sites" />
1111

@@ -36,8 +36,6 @@ To deploy a pre-existing static site project, start with a pre-generated site. W
3636

3737
2. Add your site’s build/output directory to the `wrangler.toml` file:
3838

39-
import { WranglerConfig } from "~/components";
40-
4139
<WranglerConfig>
4240

4341
```toml

src/content/docs/workers/configuration/sites/start-from-scratch.mdx

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

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

1010
<Render file="workers_sites" />
1111

@@ -50,8 +50,6 @@ The template project contains the following files and directories:
5050

5151
- Change the `name` property to the name of your project:
5252

53-
import { WranglerConfig } from "~/components";
54-
5553
<WranglerConfig>
5654

5755
```toml

src/content/docs/workers/configuration/sites/start-from-worker.mdx

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

8-
import { Render, TabItem, Tabs } from "~/components";
8+
import { Render, TabItem, Tabs, WranglerConfig } from "~/components";
99

1010
<Render file="workers_sites" />
1111

@@ -19,8 +19,6 @@ If you have a pre-existing Worker project, you can use Workers Sites to serve st
1919

2020
2. Add configuration to your `wrangler.toml` file to point to it.
2121

22-
import { WranglerConfig } from "~/components";
23-
2422
<WranglerConfig>
2523

2624
```toml

src/content/docs/workers/configuration/smart-placement.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ sidebar:
99
text: Beta
1010
---
1111

12+
import { WranglerConfig } from "~/components";
13+
1214
By default, [Workers](/workers/) and [Pages Functions](/pages/functions/) are invoked in a data center closest to where the request was received. If you are running back-end logic in a Worker, it may be more performant to run that Worker closer to your back-end infrastructure rather than the end user. Smart Placement automatically places your workloads in an optimal location that minimizes latency and speeds up your applications.
1315

1416
## Background
@@ -43,8 +45,6 @@ To enable Smart Placement via Wrangler:
4345

4446
2. Add the following to your Worker project's `wrangler.toml` file:
4547

46-
import { WranglerConfig } from "~/components";
47-
4848
<WranglerConfig>
4949

5050
```toml

src/content/docs/workers/observability/logs/workers-logs.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sidebar:
1111

1212
---
1313

14-
import { TabItem, Tabs, Steps, Render } from "~/components"
14+
import { TabItem, Tabs, Steps, Render, WranglerConfig } from "~/components"
1515

1616
Workers Logs lets you automatically collect, store, filter, and analyze logging data emitted from Cloudflare Workers. Data is written to your Cloudflare Account, and you can query it in the dashboard for each of your Workers. All newly created Workers will come with the observability setting enabled by default.
1717

@@ -29,11 +29,9 @@ Minimum required Wrangler version: 3.78.6. Check your version by running `wrangl
2929

3030
You must add the observability setting for your Worker to write logs to Workers Logs. Add the following setting to your Worker's `wrangler.toml` file and redeploy your Worker.
3131

32-
import { WranglerConfig } from "~/components";
33-
3432
<WranglerConfig>
3533

36-
```toml
34+
```toml
3735
[observability]
3836
enabled = true
3937
head_sampling_rate = 1 # optional. default = 1.

0 commit comments

Comments
 (0)