Skip to content

Commit cda6db0

Browse files
authored
Format the repo (#18118)
1 parent 137c01b commit cda6db0

30 files changed

+295
-295
lines changed

.github/workflows/semgrep.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
21
on:
32
pull_request: {}
43
workflow_dispatch: {}
54
schedule:
6-
- cron: '0 4 * * *'
5+
- cron: "0 4 * * *"
76
name: Semgrep config
87
jobs:
98
semgrep:

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ dist
44
.github/CODEOWNERS
55
public/_redirects
66
public/analytics/static/downloads/main.css
7+
src/content/workers-ai-models/*.json
8+
tests/fixtures/openapi.json

src/asides.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
&.starlight-aside--caution {
1010
background-color: rgb(255, 248, 228);
11-
1211
}
1312

1413
.starlight-aside__title {
@@ -33,4 +32,4 @@
3332
.starlight-aside--caution {
3433
background-color: rgb(98, 73, 10);
3534
}
36-
}
35+
}

src/components/Flex.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div class="flex flex-col md:flex-row justify-between gap-x-2 [&_p]:!mt-0">
2-
<slot />
3-
</div>
2+
<slot />
3+
</div>

src/components/Stream.astro

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ const url = new URL(`${videoId}/iframe`, baseUrl);
1414
url.searchParams.set("preload", "true");
1515
url.searchParams.set("letterboxColor", "transparent");
1616
17-
1817
// full url option
1918
if (thumbnailTimeOrURL !== undefined) {
2019
if (!thumbnailTimeOrURL.startsWith("http")) {
21-
const thumbnailUrl = new URL(`${videoId}/thumbnails/thumbnail.jpg`, baseUrl);
20+
const thumbnailUrl = new URL(
21+
`${videoId}/thumbnails/thumbnail.jpg`,
22+
baseUrl,
23+
);
2224
thumbnailUrl.searchParams.set("fit", "crop");
2325
thumbnailUrl.searchParams.set("time", thumbnailTimeOrURL);
2426
@@ -27,7 +29,6 @@ if (thumbnailTimeOrURL !== undefined) {
2729
url.searchParams.set("poster", thumbnailTimeOrURL);
2830
}
2931
}
30-
3132
---
3233

3334
<div style="position: relative; padding-top: 56.25%">
@@ -37,9 +38,11 @@ if (thumbnailTimeOrURL !== undefined) {
3738
allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;"
3839
allowfullscreen="true"
3940
title={videoTitle}
40-
id={videoId}></iframe>
41+
id={videoId}></iframe>
4142
</div>
42-
<a href="https://www.youtube.com/@CloudflareDevelopers" target="_blank">Watch more videos on our Developer Channel</a>
43+
<a href="https://www.youtube.com/@CloudflareDevelopers" target="_blank"
44+
>Watch more videos on our Developer Channel</a
45+
>
4346
<script is:inline src="https://embed.cloudflarestream.com/embed/sdk.latest.js"
4447
></script>
4548
<script is:inline define:vars={{ vidId: videoId, videoTitle }}>

src/components/WorkersIsolateDiagram.astro

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,23 @@ let range = (n: number) => [...Array(n).keys()];
262262
right: 0;
263263
bottom: 0;
264264
left: 0;
265-
background: color-mix(in srgb, var(--sl-color-accent-high) 25%, transparent);
265+
background: color-mix(
266+
in srgb,
267+
var(--sl-color-accent-high) 25%,
268+
transparent
269+
);
266270
}
267271

268272
.ArchitectureDiagram--user-code {
269273
position: relative;
270274
z-index: 1;
271275
width: var(--user-code-size);
272276
height: var(--user-code-size);
273-
background: color-mix(in srgb, var(--sl-color-accent-high) 90%, transparent);
277+
background: color-mix(
278+
in srgb,
279+
var(--sl-color-accent-high) 90%,
280+
transparent
281+
);
274282
}
275283

276284
.ArchitectureDiagram--process-overhead-background,

src/content/changelogs/ai-gateway.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ entries:
99
title: Grok
1010
description: |-
1111
* **Providers**: Added [Grok](/ai-gateway/providers/grok/) as a new provider.
12-
12+
1313
- publish_date: "2024-10-17"
1414
title: Vercel SDK
1515
description: |-

src/content/changelogs/api-shield.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ entries:
88
- publish_date: "2024-11-04"
99
title: Endpoint labels
1010
description: |-
11-
Customers can now organize their endpoints by use case and custom labels in [Endpoint Management](/api-shield/management-and-monitoring/endpoint-labels/) for easy reference and future machine learning (ML) model training.
11+
Customers can now organize their endpoints by use case and custom labels in [Endpoint Management](/api-shield/management-and-monitoring/endpoint-labels/) for easy reference and future machine learning (ML) model training.
1212
1313
- publish_date: "2024-10-18"
1414
title: API Shield fields in Custom Rules

src/content/changelogs/calls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ entries:
1212
- publish_date: "2024-04-04"
1313
title: Orange Meets availability
1414
description: |-
15-
Orange Meets, Cloudflare's internal video conferencing app, is open source and available for use from [Github](https://github.com/cloudflare/orange?cf_target_id=40DF7321015C5928F9359DD01303E8C2).
15+
Orange Meets, Cloudflare's internal video conferencing app, is open source and available for use from [Github](https://github.com/cloudflare/orange?cf_target_id=40DF7321015C5928F9359DD01303E8C2).
1616
- publish_date: "2024-04-04"
1717
title: Cloudflare Calls open beta
1818
description: |-

src/content/changelogs/data-localization.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,3 @@ entries:
1111
* Added Austria, Brazil, France, Hong Kong, Italy, NATO, the Netherlands, Russia, Saudi Arabia, South Africa, Spain, Switzerland, and Taiwan. Some regions may not appear in the dropdown as they require Cloudflare approval. Contact your account team for more information.
1212
* Introduced Exclusive of Hong Kong and Macau, and Exclusive of Russia and Belarus options.
1313
* Launched the Cloudflare Green Energy region, using renewable-powered data centers.
14-
15-
16-
17-
18-
19-
20-

0 commit comments

Comments
 (0)