Skip to content

Commit c222fff

Browse files
authored
Merge branch 'production' into thomasgauvin-add-workers-kv-examples
2 parents 2dde10e + 0e22234 commit c222fff

File tree

867 files changed

+59753
-6377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

867 files changed

+59753
-6377
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*.xml text eol=lf
1919
*.yaml text eol=lf
2020
*.yml text eol=lf
21-
_redirects text eol=lf
21+
__redirects text eol=lf
2222
.editorconfig text eol=lf
2323
.gitattributes text eol=lf
2424
.prettierignore text eol=lf

.github/CODEOWNERS

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@
1010
/.github/actions/assign-pr/index.js @cloudflare/pcx-technical-writing
1111
/.github/styles/cloudflare/spelling-exceptions.txt @cloudflare/pcx-technical-writing
1212
/src/components/ @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @marciocloudflare @haleycode @maxvp @GregBrimble @KianNH @WalshyDev
13+
*.js @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @GregBrimble @KianNH @WalshyDev
14+
*.ts @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @GregBrimble @KianNH @WalshyDev
15+
*.astro @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @GregBrimble @KianNH @WalshyDev
1316
/src/schemas/tags.ts @kodster28 @KianNH @joslyn-cf
14-
*.js @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @maxvp @marciocloudflare @GregBrimble @KianNH @WalshyDev
15-
*.ts @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @maxvp @marciocloudflare @GregBrimble @KianNH @WalshyDev
1617
/src/content/workers-ai-models/ @craigsdennis @pedrosousa @cloudflare/pcx-technical-writing
17-
/public/_redirects @GregBrimble @KianNH @pedrosousa @WalshyDev @cloudflare/pcx-technical-writing
18+
/public/__redirects @GregBrimble @KianNH @pedrosousa @WalshyDev @cloudflare/pcx-technical-writing
19+
1820

1921
# AI
2022

21-
/src/content/docs/agents/ @irvinebroque @rita3ko @elithrar @thomasgauvin @threepointone @harshil1712 @megaconfidence @cloudflare/pcx-technical-writing
23+
/src/content/docs/agents/ @irvinebroque @rita3ko @elithrar @thomasgauvin @threepointone @cloudflare/pcx-technical-writing
2224
/src/content/docs/ai-gateway/ @kathayl @G4brym @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
2325
/src/content/docs/workers-ai/ @rita3ko @craigsdennis @markdembo @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
2426
/src/content/docs/vectorize/ @elithrar @vy-ton @sejoker @mchenco @cloudflare/pcx-technical-writing
@@ -93,10 +95,10 @@
9395
/src/content/docs/calls/ @cloudflare/pcx-technical-writing @cloudflare/calls
9496
/src/assets/images/calls/ @cloudflare/pcx-technical-writing @cloudflare/calls
9597
/public/calls/ @cloudflare/pcx-technical-writing @cloudflare/calls
96-
/src/content/docs/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
98+
/src/content/docs/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing
9799
/src/content/release-notes/d1.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
98-
/src/content/partials/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
99-
/src/content/docs/durable-objects/ @elithrar @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
100+
/src/content/partials/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing
101+
/src/content/docs/durable-objects/ @elithrar @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing
100102
/src/content/release-notes/durable-objects.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
101103
/src/content/docs/email-routing/ @cloudflare/pcx-technical-writing
102104
/src/content/docs/hyperdrive/ @elithrar @thomasgauvin @sejoker @oxyjun @cloudflare/pcx-technical-writing
@@ -111,9 +113,9 @@
111113
/src/content/release-notes/kv.yaml @elithrar @thomasgauvin @rts-rob @oxyjun @cloudflare/pcx-technical-writing
112114
/src/content/partials/kv/ @elithrar @thomasgauvin @rts-rob @oxyjun @cloudflare/pcx-technical-writing
113115
/src/content/docs/pub-sub/ @elithrar @dcpena @cloudflare/pcx-technical-writing
114-
/src/content/docs/queues/ @elithrar @toddmantell @maheshwarip @cloudflare/pcx-technical-writing
116+
/src/content/docs/queues/ @elithrar @toddmantell @maheshwarip @harshil1712 @cloudflare/pcx-technical-writing
115117
/src/content/release-notes/queues.yaml @elithrar @toddmantell @maheshwarip @cloudflare/pcx-technical-writing
116-
/src/content/docs/r2/ @oxyjun @elithrar @jonesphillip @cloudflare/workers-docs @cloudflare/pcx-technical-writing
118+
/src/content/docs/r2/ @oxyjun @elithrar @jonesphillip @harshil1712 @cloudflare/workers-docs @cloudflare/pcx-technical-writing
117119
/src/content/release-notes/r2.yaml @oxyjun @elithrar @cloudflare/workers-docs @cloudflare/pcx-technical-writing
118120
/src/content/docs/stream/ @tsmith512 @dcpena @cloudflare/pcx-technical-writing @renandincer @third774
119121
/src/content/release-notes/stream.yaml @tsmith512 @dcpena @cloudflare/pcx-technical-writing
@@ -134,13 +136,13 @@
134136
/src/content/docs/workers/reference/security-model.mdx @irvinebroque @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
135137
/src/content/compatibility-flags/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
136138
/src/content/docs/workers/wrangler/ @cloudflare/wrangler @cloudflare/wrangler-friends @irvinebroque @ToriLindsay @cloudflare/pcx-technical-writing
137-
/src/content/docs/workers/frameworks/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
138-
/src/content/docs/pages/framework-guides/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
139+
/src/content/docs/workers/frameworks/ @igorminar @cloudflare/wrangler @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
140+
/src/content/docs/pages/framework-guides/ @igorminar @cloudflare/wrangler @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
139141
/src/content/docs/analytics/analytics-engine/ @irvinebroque @elithrar @cloudflare/pcx-technical-writing
140142
/src/content/docs/cloudflare-for-platforms/workers-for-platforms/ @irvinebroque @angelampcosta @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
141143
/src/content/docs/workers/observability/ @irvinebroque @mikenomitch @rohinlohe @ToriLindsay @cloudflare/pcx-technical-writing
142144
/src/content/docs/workers/static-assets @irvinebroque @GregBrimble @WalshyDev @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
143-
/src/content/docs/workflows/ @ToriLindsay @elithrar @celso @sidharthachatterjee @cloudflare/pcx-technical-writing
145+
/src/content/docs/workflows/ @elithrar @celso @sidharthachatterjee @cloudflare/pcx-technical-writing
144146

145147
# DDoS Protection
146148

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ dist
22
# generated actions JS
33
.github/**/*/index.js
44
.github/CODEOWNERS
5-
public/_redirects
5+
public/__redirects
66
public/analytics/static/downloads/main.css
77
src/content/workers-ai-models/*.json

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"editor.formatOnSave": true,
44
"editor.defaultFormatter": "esbenp.prettier-vscode",
55
"typescript.tsdk": "node_modules/typescript/lib",
6-
"cSpell.enableFiletypes": ["mdx"]
6+
"cSpell.enableFiletypes": ["mdx"],
7+
"files.associations": { "__redirects": "plaintext", "_headers": "plaintext" }
78
}

astro.config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ export default defineConfig({
6969
rehypeTitleFigure,
7070
],
7171
},
72+
image: {
73+
service: {
74+
entrypoint: "astro/assets/services/sharp",
75+
config: {
76+
limitInputPixels: false,
77+
},
78+
},
79+
},
7280
experimental: {
7381
contentIntellisense: true,
7482
},
@@ -122,7 +130,7 @@ export default defineConfig({
122130
exclude: [
123131
"/api/",
124132
"/api/**",
125-
"/changelog/",
133+
"/changelog/**",
126134
"/http/resources/**",
127135
"{props.*}",
128136
"/",

bin/fetch-ai-models.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import fs from "fs";
33
fetch("https://ai.cloudflare.com/api/models")
44
.then((res) => res.json())
55
.then((data) => {
6-
data.models.forEach((model) => {
6+
data.models.map((model) => {
77
const fileName = model.name.split("/")[2];
88
fs.writeFileSync(
99
`./src/content/workers-ai-models/${fileName}.json`,

bin/fetch-warp-releases.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ for (let track of tracks) {
3535
track = track.replace("noble-intel", "linux");
3636
}
3737

38-
const path = `./src/content/warp-releases/${track}/${item.version}.yaml`;
38+
const folder = `./src/content/warp-releases/${track}`;
39+
const path = `${folder}/${item.version}.yaml`;
40+
41+
if (!fs.existsSync(folder)) {
42+
fs.mkdirSync(folder, { recursive: true });
43+
}
3944

4045
if (fs.existsSync(path)) {
4146
console.log(`${track} ${item.version} already exists.`);
@@ -66,13 +71,16 @@ for (let track of tracks) {
6671
});
6772

6873
const releaseNotes = tokens.reduce((s, t) => s + t.raw, "");
74+
const platformName = data.platformName.startsWith("noble-")
75+
? "Linux"
76+
: data.platformName;
6977

7078
fs.writeFileSync(
7179
`./src/content/warp-releases/${track}/${item.version}.yaml`,
7280
YAML.stringify({
7381
...item,
7482
releaseNotes,
75-
platformName: data.platformName,
83+
platformName,
7684
}),
7785
"utf-8",
7886
);

bin/playground.ts

Lines changed: 0 additions & 33 deletions
This file was deleted.

bin/validate-redirects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { readFile } from "fs/promises";
22

33
async function main() {
4-
const redirects = await readFile("public/_redirects", { encoding: "utf-8" });
4+
const redirects = await readFile("public/__redirects", { encoding: "utf-8" });
55

66
let numInfiniteRedirects = 0;
77
let numUrlsWithFragment = 0;

ec.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export default {
1717
],
1818
themes: [darkTheme, lightTheme],
1919
styleOverrides: {
20+
borderWidth: "1px",
21+
borderRadius: "0.25rem",
2022
textMarkers: {
2123
defaultLuminance: ["32%", "88%"],
2224
},

0 commit comments

Comments
 (0)