Skip to content

[Docs] Fix build warnings (code block languages) #22085

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/content/docs/agents/concepts/human-in-the-loop.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ title: Human in the Loop
pcx_content_type: concept
sidebar:
order: 5

---

import { Render, Note, Aside } from "~/components";

### What is Human-in-the-Loop?

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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ JSONata transformations are not compatible with [SAML attribute statements](#sam

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

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

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

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.

```jsonata title="JSONata expression"
```txt title="JSONata expression"
$ ~> |$|{}, ['groups']|
```

Expand Down Expand Up @@ -262,7 +262,7 @@ Result after applying the JSONata transform:

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

```jsonata title="JSONata expression"
```txt title="JSONata expression"
{
"account_id": account_id,
"amr": amr,
Expand Down Expand Up @@ -336,7 +336,7 @@ Result after applying the JSONata transform:

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

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

Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/d1/best-practices/read-replication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ For this REST endpoint, you need to have an API token with `D1:Edit` permission.

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

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

<Tabs>
<TabItem label="cURL">
```curl
```sh
curl -X GET "https://api.cloudflare.com/client/v4/accounts/{account_id}/d1/database/{database_id}" \
-H "Authorization: Bearer $TOKEN"
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ With these flags, your pipeline will deliver an uncompressed file of data to you
These flags are useful for testing, but we recommend keeping the default settings in a production environment.
:::

```output
```txt output
✅ Successfully created Pipeline "clickstream-pipeline" with ID <PIPELINE_ID>

Id: <PIPELINE_ID>
Expand Down Expand Up @@ -423,7 +423,7 @@ npm run deploy

This will deploy the application to the Cloudflare Workers platform.

```output
```txt output
🌀 Building list of assets...
🌀 Starting asset upload...
🌀 Found 1 new or modified static asset to upload. Proceeding with upload...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ With these flags, your pipeline will deliver an uncompressed file of data to you
These flags are useful for testing, but we recommend keeping the default settings in a production environment.
:::

```output
```txt output
✅ Successfully created Pipeline "clickstream-pipeline-client" with ID <PIPELINE_ID>

Id: <PIPELINE_ID>
Expand Down Expand Up @@ -381,7 +381,7 @@ npm run deploy

This will deploy the application to the Cloudflare Workers platform.

```output
```txt output
🌀 Building list of assets...
🌀 Starting asset upload...
🌀 Found 1 new or modified static asset to upload. Proceeding with upload...
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/realtime/simulcast.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ graph LR
B -->|Low quality| C@{ shape: procs, label: "Subscribers"}
B -->|Medium quality| D@{ shape: procs, label: "Subscribers"}
B -->|High quality| E@{ shape: procs, label: "Subscribers"}

```

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

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:

```sdp
```txt
a=simulcast:send f;h;q
a=rid:f send
a=rid:h send
Expand All @@ -75,6 +74,7 @@ const transceiver = peerConnection.addTransceiver(track, {
]
});
```

## Example

Here's an example of how to use simulcast with Cloudflare Realtime:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ If your Astro project uses [on demand rendering (also known as SSR)](https://doc
2. **Add a `.assetsignore` file**
Create a `.assetsignore` file in your `public/` folder, and add the following lines to it:

```title=".assetsignore"
```txt title=".assetsignore"
_worker.js
_routes.json
```
Expand Down