Skip to content

Commit 9aaf325

Browse files
pedrosousadaisyfaithauma
authored andcommitted
[Docs] Fix build warnings (code block languages) (#22085)
1 parent efd8259 commit 9aaf325

File tree

7 files changed

+14
-17
lines changed

7 files changed

+14
-17
lines changed

src/content/docs/agents/concepts/human-in-the-loop.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ title: Human in the Loop
33
pcx_content_type: concept
44
sidebar:
55
order: 5
6-
76
---
87

9-
import { Render, Note, Aside } from "~/components";
10-
118
### What is Human-in-the-Loop?
129

1310
Human-in-the-Loop (HITL) workflows integrate human judgment and oversight into automated processes. These workflows pause at critical points for human review, validation, or decision-making before proceeding. This approach combines the efficiency of automation with human expertise and oversight where it matters most.

src/content/docs/cloudflare-one/applications/configure-apps/saas-apps/generic-saml-saas.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ JSONata transformations are not compatible with [SAML attribute statements](#sam
113113

114114
For example, the following JSONata script merges group names into a list and adds an `eduPersonPrincipalName` field which maps to the user email.
115115

116-
```jsonata title = "JSONata expression"
116+
```txt title = "JSONata expression"
117117
$merge([$, {"groups": groups.name, 'eduPersonPrincipalName': email}])
118118
```
119119

@@ -217,7 +217,7 @@ For more JSONata transform use cases, refer to the following examples.
217217

218218
The following JSONata script removes the `groups` SAML attribute. This can be useful if your SaaS application does not need to receive user group information.
219219

220-
```jsonata title="JSONata expression"
220+
```txt title="JSONata expression"
221221
$ ~> |$|{}, ['groups']|
222222
```
223223

@@ -262,7 +262,7 @@ Result after applying the JSONata transform:
262262

263263
The following JSONata script changes the `groups.name` field from `name` to `group_name` and removes the `groups.id` field:
264264

265-
```jsonata title="JSONata expression"
265+
```txt title="JSONata expression"
266266
{
267267
"account_id": account_id,
268268
"amr": amr,
@@ -336,7 +336,7 @@ Result after applying the JSONata transform:
336336

337337
The following JSONata script filters groups to those that match a regular expression.
338338

339-
```jsonata title="JSONata expression"
339+
```txt title="JSONata expression"
340340
$merge([$, { "groups": $filter(groups, function($v) { $contains($v.name, /Administrator/) }) }])
341341
```
342342

src/content/docs/d1/best-practices/read-replication.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ For this REST endpoint, you need to have an API token with `D1:Edit` permission.
288288

289289
<Tabs>
290290
<TabItem label="cURL">
291-
```curl
291+
```sh
292292
curl -X PUT "https://api.cloudflare.com/client/v4/accounts/{account_id}/d1/database/{database_id}" \
293293
-H "Authorization: Bearer $TOKEN" \
294294
-H "Content-Type: application/json" \
@@ -325,7 +325,7 @@ Disabling read replication takes up to 24 hours for replicas to stop processing
325325

326326
<Tabs>
327327
<TabItem label="cURL">
328-
```curl
328+
```sh
329329
curl -X PUT "https://api.cloudflare.com/client/v4/accounts/{account_id}/d1/database/{database_id}" \
330330
-H "Authorization: Bearer $TOKEN" \
331331
-H "Content-Type: application/json" \
@@ -359,7 +359,7 @@ For this REST endpoint, you need to have an API token with `D1:Read` permission.
359359

360360
<Tabs>
361361
<TabItem label="cURL">
362-
```curl
362+
```sh
363363
curl -X GET "https://api.cloudflare.com/client/v4/accounts/{account_id}/d1/database/{database_id}" \
364364
-H "Authorization: Bearer $TOKEN"
365365
```

src/content/docs/pipelines/tutorials/query-data-with-motherduck/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ With these flags, your pipeline will deliver an uncompressed file of data to you
321321
These flags are useful for testing, but we recommend keeping the default settings in a production environment.
322322
:::
323323

324-
```output
324+
```txt output
325325
✅ Successfully created Pipeline "clickstream-pipeline" with ID <PIPELINE_ID>
326326
327327
Id: <PIPELINE_ID>
@@ -423,7 +423,7 @@ npm run deploy
423423

424424
This will deploy the application to the Cloudflare Workers platform.
425425

426-
```output
426+
```txt output
427427
🌀 Building list of assets...
428428
🌀 Starting asset upload...
429429
🌀 Found 1 new or modified static asset to upload. Proceeding with upload...

src/content/docs/pipelines/tutorials/send-data-from-client/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ With these flags, your pipeline will deliver an uncompressed file of data to you
212212
These flags are useful for testing, but we recommend keeping the default settings in a production environment.
213213
:::
214214

215-
```output
215+
```txt output
216216
✅ Successfully created Pipeline "clickstream-pipeline-client" with ID <PIPELINE_ID>
217217
218218
Id: <PIPELINE_ID>
@@ -381,7 +381,7 @@ npm run deploy
381381

382382
This will deploy the application to the Cloudflare Workers platform.
383383

384-
```output
384+
```txt output
385385
🌀 Building list of assets...
386386
🌀 Starting asset upload...
387387
🌀 Found 1 new or modified static asset to upload. Proceeding with upload...

src/content/docs/realtime/simulcast.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ graph LR
1515
B -->|Low quality| C@{ shape: procs, label: "Subscribers"}
1616
B -->|Medium quality| D@{ shape: procs, label: "Subscribers"}
1717
B -->|High quality| E@{ shape: procs, label: "Subscribers"}
18-
1918
```
2019

2120
### How it works
@@ -56,7 +55,7 @@ When a layer switch is requested (through updating `preferredRid`) with the `/tr
5655

5756
For publishers (local tracks), you only need to include the simulcast attributes in your SDP. The SFU will automatically handle the simulcast configuration based on the SDP. For example, the SDP should contain a section like this:
5857

59-
```sdp
58+
```txt
6059
a=simulcast:send f;h;q
6160
a=rid:f send
6261
a=rid:h send
@@ -75,6 +74,7 @@ const transceiver = peerConnection.addTransceiver(track, {
7574
]
7675
});
7776
```
77+
7878
## Example
7979

8080
Here's an example of how to use simulcast with Cloudflare Realtime:

src/content/docs/workers/frameworks/framework-guides/astro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ If your Astro project uses [on demand rendering (also known as SSR)](https://doc
129129
2. **Add a `.assetsignore` file**
130130
Create a `.assetsignore` file in your `public/` folder, and add the following lines to it:
131131

132-
```title=".assetsignore"
132+
```txt title=".assetsignore"
133133
_worker.js
134134
_routes.json
135135
```

0 commit comments

Comments
 (0)