Skip to content

Commit 6580225

Browse files
committed
Merge branch 'production' into kian/PCX-13986
2 parents 16ce4b1 + e1d47f0 commit 6580225

File tree

1,368 files changed

+59220
-15666
lines changed

Some content is hidden

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

1,368 files changed

+59220
-15666
lines changed

.github/CODEOWNERS

Lines changed: 35 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,20 @@
1818

1919
# AI
2020

21-
/src/content/docs/ai-gateway/ @kathayl @G4brym @mchenco @pdwittig @daisyfaithauma @cloudflare/pcx-technical-writing
22-
/src/content/docs/workers-ai/ @rita3ko @pdwittig @craigsdennis @markdembo @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
21+
/src/content/docs/ai-gateway/ @kathayl @G4brym @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
22+
/src/content/docs/workers-ai/ @rita3ko @craigsdennis @markdembo @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
2323
/src/content/docs/workers-ai/static @mchenco @craigsdennis @cloudflare/pcx-technical-writing
24-
/src/content/docs/vectorize/ @elithrar @vy-ton @pdwittig @cloudflare/pcx-technical-writing
25-
/src/content/changelogs/workers-ai.yaml @kathayl @G4brym @mchenco @pdwittig @daisyfaithauma @cloudflare/pcx-technical-writing
26-
/src/content/changelogs/ai-gateway.yaml @kathayl @G4brym @mchenco @pdwittig @daisyfaithauma @cloudflare/pcx-technical-writing
27-
/src/content/changelogs/vectorize.yaml @elithrar @pdwittig @cloudflare/pcx-technical-writing
24+
/src/content/docs/vectorize/ @elithrar @vy-ton @sejoker @mchenco @cloudflare/pcx-technical-writing
25+
/src/content/partials/vectorize/ @elithrar @mchenco @sejoker @cloudflare/pcx-technical-writing
26+
/src/content/changelogs/workers-ai.yaml @kathayl @G4brym @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
27+
/src/content/changelogs/ai-gateway.yaml @kathayl @G4brym @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
28+
/src/content/changelogs/vectorize.yaml @elithrar @mchenco @sejoker @cloudflare/pcx-technical-writing
2829

2930
# Analytics & Logs
3031

3132
/src/content/docs/analytics/ @46bit @bharatnc @jherre @jimhawkridge @soheiokamoto @victor-perov @angelampcosta @cloudflare/pcx-technical-writing
3233
/src/content/docs/data-localization/ @soheiokamoto @angelampcosta @cloudflare/pcx-technical-writing
33-
/src/content/docs/logs/ @bharatnc @jherre @soheiokamoto @victor-perov @angelampcosta @cloudflare/pcx-technical-writing
34+
/src/content/docs/logs/ @cmackenzie1 @bharatnc @jherre @soheiokamoto @victor-perov @angelampcosta @cloudflare/pcx-technical-writing
3435

3536
# API & Zones
3637

@@ -67,6 +68,7 @@
6768

6869
# Core platform
6970

71+
/src/content/docs/aegis/ @RebeccaTamachiro @cloudflare/pcx-technical-writing
7072
/src/content/docs/byoip/ @RebeccaTamachiro @cloudflare/pcx-technical-writing
7173
/src/content/docs/china-network/ @pedrosousa @cloudflare/pcx-technical-writing
7274
/src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/ @RebeccaTamachiro @cloudflare/pcx-technical-writing
@@ -89,16 +91,16 @@
8991
/src/content/docs/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
9092
/src/content/changelogs/d1.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
9193
/src/content/partials/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
92-
/src/content/docs/durable-objects/ @elithrar @vy-ton @joshthoward @cloudflare/pcx-technical-writing
93-
/src/content/changelogs/durable-objects.yaml @elithrar @rozenmd @vy-ton @joshthoward @cloudflare/pcx-technical-writing
94+
/src/content/docs/durable-objects/ @elithrar @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
95+
/src/content/changelogs/durable-objects.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
9496
/src/content/docs/email-routing/ @cloudflare/pcx-technical-writing
9597
/src/content/docs/hyperdrive/ @elithrar @thomasgauvin @sejoker @oxyjun @cloudflare/pcx-technical-writing
9698
/src/content/changelogs/hyperdrive.yaml @elithrar @thomasgauvin @sejoker @oxyjun @cloudflare/pcx-technical-writing
9799
/src/content/partials/hyperdrive/ @elithrar @thomasgauvin @sejoker @oxyjun @cloudflare/pcx-technical-writing
98-
/src/content/changelogs/durable-objects.yaml @elithrar @vy-ton @joshthoward @cloudflare/pcx-technical-writing
100+
/src/content/changelogs/durable-objects.yaml @elithrar @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
99101
/src/content/docs/images/ @dcpena @cloudflare/pcx-technical-writing @renandincer @third774
100-
/src/content/docs/pages/ @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @irvinebroque @cloudflare/pcx-technical-writing
101-
/src/assets/images/pages/ @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @cloudflare/pcx-technical-writing
102+
/src/content/docs/pages/ @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @irvinebroque @cloudflare/pcx-technical-writing @ToriLindsay
103+
/src/assets/images/pages/ @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @cloudflare/pcx-technical-writing @ToriLindsay
102104
/src/content/changelogs/pages.yaml @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @cloudflare/pcx-technical-writing
103105
/src/content/docs/kv/ @elithrar @thomasgauvin @rts-rob @oxyjun @cloudflare/pcx-technical-writing
104106
/src/content/changelogs/kv.yaml @elithrar @thomasgauvin @rts-rob @oxyjun @cloudflare/pcx-technical-writing
@@ -110,26 +112,30 @@
110112
/src/content/changelogs/r2.yaml @dcpena @elithrar @cloudflare/workers-docs @cloudflare/pcx-technical-writing
111113
/src/content/docs/stream/ @tsmith512 @dcpena @cloudflare/pcx-technical-writing @renandincer @third774
112114
/src/content/changelogs/stream.yaml @tsmith512 @dcpena @cloudflare/pcx-technical-writing
113-
/src/content/docs/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @WalshyDev @cloudflare/pcx-technical-writing
114-
/src/assets/images/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @WalshyDev @cloudflare/pcx-technical-writing
115-
/src/content/changelogs/workers.yaml @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @cloudflare/pcx-technical-writing @irvinebroque
115+
/src/content/docs/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @ToriLindsay
116+
/src/content/partials/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @ToriLindsay
117+
/src/assets/images/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @ToriLindsay
118+
/src/content/changelogs/workers.yaml @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @cloudflare/deploy-config @cloudflare/pcx-technical-writing @irvinebroque
116119
/src/content/docs/zaraz/ @bjesus @jonnyparris @simonabadoiu @cloudflare/pcx-technical-writing
117120
/src/content/changelogs/zaraz.yaml @bjesus @jonnyparris @simonabadoiu @cloudflare/pcx-technical-writing
118-
/src/content/docs/workers/ci-cd/ @irvinebroque @aninibread @GregBrimble @cloudflare/pcx-technical-writing
119-
/src/content/docs/workers/runtime-apis/ @irvinebroque @jasnell @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
120-
/src/content/docs/workers/runtime-apis/bindings/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
121-
/src/content/docs/workers/platform/ @irvinebroque @tanushree-sharma @GregBrimble @cloudflare/pcx-technical-writing
122-
/src/content/docs/workers/configuration/compatibility-dates/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
123-
/src/content/docs/workers/reference/migrate-to-module-workers/ @irvinebroque @GregBrimble @cloudflare/pcx-technical-writing
124-
/src/content/docs/workers/reference/security-model/ @irvinebroque @GregBrimble @cloudflare/pcx-technical-writing
125-
/src/content/compatibility-dates/ @irvinebroque @kflansburg @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
126-
/src/content/docs/workers/wrangler/ @penalosa @petebacondarwin @dario-piotrowicz @irvinebroque @GregBrimble @cloudflare/pcx-technical-writing
127-
/src/content/docs/workers/frameworks/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @cloudflare/pcx-technical-writing
128-
/src/content/docs/pages/framework-guides/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @tanushree-sharma @cloudflare/pcx-technical-writing
121+
/src/content/docs/workers/ci-cd/ @irvinebroque @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
122+
/src/content/docs/workers/runtime-apis/ @irvinebroque @jasnell @mikenomitch @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
123+
/src/content/docs/workers/runtime-apis/bindings/ @irvinebroque @mikenomitch @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
124+
/src/content/docs/workers/platform/ @irvinebroque @tanushree-sharma @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
125+
/src/content/docs/workers/configuration/compatibility-dates/ @irvinebroque @mikenomitch @GregBrimble @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
126+
/src/content/docs/workers/configuration/compatibility-flags/ @irvinebroque @mikenomitch @GregBrimble @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
127+
128+
/src/content/docs/workers/reference/migrate-to-module-workers/ @irvinebroque @GregBrimble @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
129+
/src/content/docs/workers/reference/security-model/ @irvinebroque @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
130+
/src/content/compatibility-flags/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
131+
/src/content/docs/workers/wrangler/ @penalosa @petebacondarwin @dario-piotrowicz @irvinebroque @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
132+
/src/content/docs/workers/frameworks/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
133+
/src/content/docs/pages/framework-guides/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @tanushree-sharma @ToriLindsay @cloudflare/pcx-technical-writing
129134
/src/content/docs/analytics/analytics-engine/ @irvinebroque @elithrar @cloudflare/pcx-technical-writing
130-
/cloudflare-for-platforms/workers-for-platforms/ @irvinebroque @tanushree-sharma @angelampcosta @GregBrimble @cloudflare/pcx-technical-writing
131-
/src/content/docs/workers/observability/ @irvinebroque @mikenomitch @rohinlohe @cloudflare/pcx-technical-writing
132-
/src/content/docs/workers/static-assets @irvinebroque @tanushree-sharma @GregBrimble @WalshyDev @cloudflare/pcx-technical-writing
135+
/cloudflare-for-platforms/workers-for-platforms/ @irvinebroque @tanushree-sharma @angelampcosta @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
136+
/src/content/docs/workers/observability/ @irvinebroque @mikenomitch @rohinlohe @ToriLindsay @cloudflare/pcx-technical-writing
137+
/src/content/docs/workers/static-assets @irvinebroque @tanushree-sharma @GregBrimble @WalshyDev @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
138+
/src/content/docs/workflows/ @elithrar @celso @sidharthachatterjee @cloudflare/pcx-technical-writing
133139

134140
# DDoS Protection
135141

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
versioning-strategy: "increase"
6+
commit-message:
7+
prefix: "[Docs Site] "
8+
schedule:
9+
interval: "daily"
10+
assignees:
11+
- "KianNH"
12+
reviewers:
13+
- "KianNH"

.github/styles/cloudflare/NonStandardQuotes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# For a list of all options, see https://vale.sh/docs/topics/styles/
77
extends: existence
8-
message: "Use standard single quotes or double quotes only. Do not use left or right quotes."
8+
message: "Use standard single quotes or double quotes only. Do not use any of the following quote mark types: ‘ ’ “ ”. In the text, we found this character: %s"
99
level: warning
1010
ignorecase: true
1111
link: https://developers.cloudflare.com/style-guide/grammar/punctuation-marks-and-symbols/quotation-marks/

.github/workflows/anchor-link-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
- run: npm ci
3838

39-
- run: npx astro build
39+
- run: npm run build
4040
env:
4141
NODE_OPTIONS: "--max-old-space-size=4192"
4242

.github/workflows/ci.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,33 @@ jobs:
2020
- uses: actions/setup-node@v4
2121
with:
2222
node-version: 22
23-
24-
- name: Get npm cache directory
25-
id: npm-cache-dir
26-
shell: bash
27-
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
28-
29-
- uses: actions/cache@v4
30-
id: npm-cache
23+
cache: "npm"
24+
- uses: actions/cache/restore@v4
3125
with:
32-
path: ${{ steps.npm-cache-dir.outputs.dir }}
33-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
34-
restore-keys: |
35-
${{ runner.os }}-node-
26+
path: |
27+
node_modules/.astro
28+
key: static
3629

3730
- run: npm ci
3831
- run: npm run check
3932

40-
## TODO: formatting checks
41-
33+
- run: npm run format:core:check
34+
## TODO: content formatting checks
4235
- run: npm run build
4336
env:
4437
NODE_OPTIONS: "--max-old-space-size=4192"
4538
RUN_LINK_CHECK: true
4639

40+
- run: npm run check:worker
41+
42+
- uses: actions/cache/save@v4
43+
with:
44+
path: |
45+
node_modules/.astro
46+
key: static
47+
4748
- name: Check - Validate redirects (infinite loops, sources with fragment)
4849
run: npx tsm bin/validate-redirects.ts
50+
51+
- name: Tests
52+
run: npm run test

.github/workflows/publish-preview.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-22.04
1313
permissions:
1414
contents: read
15-
name: Publish to Cloudflare Pages (Preview)
15+
name: Publish Preview
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-node@v4
@@ -23,25 +23,24 @@ jobs:
2323
- uses: actions/cache/restore@v4
2424
with:
2525
path: |
26-
node_modules/.astro/_astro
27-
node_modules/.astro/assets
26+
node_modules/.astro
2827
key: static
29-
- run: npx astro build
28+
- run: npm run build
29+
name: Build
3030
env:
3131
NODE_OPTIONS: --max-old-space-size=4096
3232
- run: npx wrangler pages deploy --project-name cloudflare-docs dist
3333
name: Deploy to Cloudflare Pages
3434
env:
3535
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3636
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
37-
- run: npm run build:worker && npx wrangler versions upload -c ./wrangler-workers.toml
38-
name: Deploy to Cloudflare Workers [preview]
37+
- run: npx wrangler versions upload -c ./wrangler-workers.toml
38+
name: Deploy to Cloudflare Workers
3939
env:
4040
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4141
- uses: actions/cache/save@v4
4242
if: always()
4343
with:
4444
path: |
45-
node_modules/.astro/_astro
46-
node_modules/.astro/assets
45+
node_modules/.astro
4746
key: static

.github/workflows/publish-production.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-22.04
99
permissions:
1010
contents: read
11-
name: Publish to Cloudflare Pages (Production)
11+
name: Publish Production
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
@@ -19,21 +19,24 @@ jobs:
1919
- uses: actions/cache/restore@v4
2020
with:
2121
path: |
22-
node_modules/.astro/_astro
23-
node_modules/.astro/assets
22+
node_modules/.astro
2423
key: static
25-
- run: npx astro build
24+
- run: npm run build
25+
name: Build
2626
env:
2727
NODE_OPTIONS: --max-old-space-size=4096
2828
- run: npx wrangler pages deploy --project-name cloudflare-docs dist
2929
name: Deploy to Cloudflare Pages
3030
env:
3131
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3232
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
33+
- run: npx wrangler deploy -c ./wrangler-workers.toml
34+
name: Deploy to Cloudflare Workers
35+
env:
36+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3337
- uses: actions/cache/save@v4
3438
if: always()
3539
with:
3640
path: |
37-
node_modules/.astro/_astro
38-
node_modules/.astro/assets
41+
node_modules/.astro
3942
key: static

.github/workflows/semgrep.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
21
on:
3-
pull_request: {}
42
workflow_dispatch: {}
5-
push:
6-
branches:
7-
- main
8-
- master
93
schedule:
10-
- cron: '0 0 * * *'
4+
- cron: "0 4 * * *"
115
name: Semgrep config
126
jobs:
137
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

.prettierrc.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-check
12
/** @type {import("prettier").Config} */
23
export default {
34
plugins: ["prettier-plugin-astro"],

0 commit comments

Comments
 (0)