Skip to content

Commit 5e6027c

Browse files
authored
Merge branch 'production' into changelog-secrets-store-beta
2 parents 3031b18 + e147b01 commit 5e6027c

File tree

2,700 files changed

+121558
-30508
lines changed

Some content is hidden

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

2,700 files changed

+121558
-30508
lines changed

.gitattributes

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,21 @@
44
*.html text eol=lf
55
*.ini text eol=lf
66
*.js text eol=lf
7+
*.jsx text eol=lf
78
*.json text eol=lf
89
*.md text eol=lf
910
*.mdx text eol=lf
1011
*.mjs text eol=lf
1112
*.svg text eol=lf
1213
*.toml text eol=lf
1314
*.ts text eol=lf
15+
*.tsx text eol=lf
1416
*.txt text eol=lf
1517
*.vue text eol=lf
1618
*.xml text eol=lf
1719
*.yaml text eol=lf
1820
*.yml text eol=lf
19-
_redirects text eol=lf
21+
__redirects text eol=lf
2022
.editorconfig text eol=lf
2123
.gitattributes text eol=lf
2224
.prettierignore text eol=lf

.github/CODEOWNERS

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,25 @@
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 @maxvp @marciocloudflare @GregBrimble @KianNH @WalshyDev
14-
*.ts @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @maxvp @marciocloudflare @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
16+
/src/schemas/tags.ts @kodster28 @KianNH @joslyn-cf
1517
/src/content/workers-ai-models/ @craigsdennis @pedrosousa @cloudflare/pcx-technical-writing
16-
/public/_redirects @GregBrimble @KianNH @pedrosousa @WalshyDev @cloudflare/pcx-technical-writing
18+
/public/__redirects @GregBrimble @KianNH @pedrosousa @WalshyDev @cloudflare/pcx-technical-writing
19+
1720

1821
# AI
1922

20-
/src/content/docs/agents/ @irvinebroque @rita3ko @elithrar @thomasgauvin @threepointone @kodster28 @KianNH
23+
/src/content/docs/agents/ @irvinebroque @rita3ko @elithrar @thomasgauvin @threepointone @cloudflare/pcx-technical-writing
2124
/src/content/docs/ai-gateway/ @kathayl @G4brym @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
2225
/src/content/docs/workers-ai/ @rita3ko @craigsdennis @markdembo @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
2326
/src/content/docs/vectorize/ @elithrar @vy-ton @sejoker @mchenco @cloudflare/pcx-technical-writing
2427
/src/content/partials/vectorize/ @elithrar @mchenco @sejoker @cloudflare/pcx-technical-writing
2528
/src/content/release-notes/workers-ai.yaml @kathayl @G4brym @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
2629
/src/content/release-notes/ai-gateway.yaml @kathayl @G4brym @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
2730
/src/content/release-notes/vectorize.yaml @elithrar @mchenco @sejoker @cloudflare/pcx-technical-writing
31+
/src/content/docs/autorag/ @rita3ko @irvinebroque @aninibread @ToriLindsay @cloudflare/pcx-technical-writing
2832

2933
# Analytics & Logs
3034

@@ -41,12 +45,13 @@
4145

4246
# Browser Rendering API
4347

44-
/src/content/docs/browser-rendering/ @mchenco @cloudflare/pcx-technical-writing @celso @meddulla @danielgek
48+
/src/content/docs/browser-rendering/ @mchenco @cloudflare/pcx-technical-writing @celso @meddulla @danielgek @kathayl
4549

4650
# Changelogs
4751

4852
/src/content/changelog/ @cloudflare/pm-changelogs
4953
/src/assets/images/changelog/ @cloudflare/pm-changelogs
54+
/src/assets/images/ @cloudflare/pm-changelogs @cloudflare/pcx-technical-writing
5055

5156
# Cloudflare One
5257

@@ -91,10 +96,10 @@
9196
/src/content/docs/calls/ @cloudflare/pcx-technical-writing @cloudflare/calls
9297
/src/assets/images/calls/ @cloudflare/pcx-technical-writing @cloudflare/calls
9398
/public/calls/ @cloudflare/pcx-technical-writing @cloudflare/calls
94-
/src/content/docs/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
99+
/src/content/docs/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing
95100
/src/content/release-notes/d1.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
96-
/src/content/partials/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
97-
/src/content/docs/durable-objects/ @elithrar @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
101+
/src/content/partials/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing
102+
/src/content/docs/durable-objects/ @elithrar @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing
98103
/src/content/release-notes/durable-objects.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
99104
/src/content/docs/email-routing/ @cloudflare/pcx-technical-writing
100105
/src/content/docs/hyperdrive/ @elithrar @thomasgauvin @sejoker @oxyjun @cloudflare/pcx-technical-writing
@@ -109,9 +114,9 @@
109114
/src/content/release-notes/kv.yaml @elithrar @thomasgauvin @rts-rob @oxyjun @cloudflare/pcx-technical-writing
110115
/src/content/partials/kv/ @elithrar @thomasgauvin @rts-rob @oxyjun @cloudflare/pcx-technical-writing
111116
/src/content/docs/pub-sub/ @elithrar @dcpena @cloudflare/pcx-technical-writing
112-
/src/content/docs/queues/ @elithrar @toddmantell @maheshwarip @cloudflare/pcx-technical-writing
117+
/src/content/docs/queues/ @elithrar @toddmantell @maheshwarip @harshil1712 @cloudflare/pcx-technical-writing
113118
/src/content/release-notes/queues.yaml @elithrar @toddmantell @maheshwarip @cloudflare/pcx-technical-writing
114-
/src/content/docs/r2/ @oxyjun @elithrar @jonesphillip @cloudflare/workers-docs @cloudflare/pcx-technical-writing
119+
/src/content/docs/r2/ @oxyjun @elithrar @jonesphillip @harshil1712 @cloudflare/workers-docs @cloudflare/pcx-technical-writing
115120
/src/content/release-notes/r2.yaml @oxyjun @elithrar @cloudflare/workers-docs @cloudflare/pcx-technical-writing
116121
/src/content/docs/stream/ @tsmith512 @dcpena @cloudflare/pcx-technical-writing @renandincer @third774
117122
/src/content/release-notes/stream.yaml @tsmith512 @dcpena @cloudflare/pcx-technical-writing
@@ -132,13 +137,13 @@
132137
/src/content/docs/workers/reference/security-model.mdx @irvinebroque @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
133138
/src/content/compatibility-flags/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
134139
/src/content/docs/workers/wrangler/ @cloudflare/wrangler @cloudflare/wrangler-friends @irvinebroque @ToriLindsay @cloudflare/pcx-technical-writing
135-
/src/content/docs/workers/frameworks/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
136-
/src/content/docs/pages/framework-guides/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
140+
/src/content/docs/workers/frameworks/ @igorminar @cloudflare/wrangler @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
141+
/src/content/docs/pages/framework-guides/ @igorminar @cloudflare/wrangler @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
137142
/src/content/docs/analytics/analytics-engine/ @irvinebroque @elithrar @cloudflare/pcx-technical-writing
138143
/src/content/docs/cloudflare-for-platforms/workers-for-platforms/ @irvinebroque @angelampcosta @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
139144
/src/content/docs/workers/observability/ @irvinebroque @mikenomitch @rohinlohe @ToriLindsay @cloudflare/pcx-technical-writing
140145
/src/content/docs/workers/static-assets @irvinebroque @GregBrimble @WalshyDev @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
141-
/src/content/docs/workflows/ @ToriLindsay @elithrar @celso @sidharthachatterjee @cloudflare/pcx-technical-writing
146+
/src/content/docs/workflows/ @elithrar @celso @sidharthachatterjee @cloudflare/pcx-technical-writing
142147

143148
# DDoS Protection
144149

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ name: Anchor link audit
55
# **Who does it impact**: PCX team
66

77
on:
8-
schedule:
9-
- cron: "0 0 * * 0" # Run at 00:00 UTC every Sunday
108
workflow_dispatch:
119

1210
jobs:

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/cache/restore@v4
2525
with:
2626
path: |
27-
node_modules/.astro
27+
node_modules/.astro/assets
2828
key: static
2929

3030
- run: npm ci
@@ -49,11 +49,18 @@ jobs:
4949
- uses: actions/cache/save@v4
5050
with:
5151
path: |
52-
node_modules/.astro
52+
node_modules/.astro/assets
5353
key: static
5454

5555
- name: Check - Validate redirects (infinite loops, sources with fragment)
5656
run: npx tsm bin/validate-redirects.ts
5757

5858
- name: Tests
5959
run: npm run test
60+
61+
- name: Post PR CI failure comment
62+
if: always()
63+
continue-on-error: true
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
run: npx tsx bin/post-pr-ci-failure-comment/index.ts

.github/workflows/image-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
id: find-files
2222
run: |
2323
# Find all .png and .svg files, but only look in the ./src/assets/images directory
24-
FILES=$(find . -type f \( -name "*.png" -o -name "*.svg" \) -path "./src/assets/images/*" -not -path "./src/assets/images/workers-ai/*.svg" -not -path "./src/assets/images/workers/ai/*.png" -not -path "./src/assets/images/changelog-next/*")
24+
FILES=$(find . -type f \( -name "*.png" -o -name "*.svg" \) -path "./src/assets/images/*" -not -path "./src/assets/images/workers-ai/*.svg" -not -path "./src/assets/images/workers/ai/*.png" -not -path "./src/assets/images/changelog/*")
2525
2626
# Check if files are referenced in any markdown file
2727
UNUSED_FILES=""

.github/workflows/publish-preview.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ concurrency:
99

1010
jobs:
1111
publish:
12+
if: github.repository == 'cloudflare/cloudflare-docs'
1213
runs-on: ubuntu-22.04
1314
permissions:
1415
contents: read
@@ -26,7 +27,7 @@ jobs:
2627
- uses: actions/cache/restore@v4
2728
with:
2829
path: |
29-
node_modules/.astro
30+
node_modules/.astro/assets
3031
key: static
3132
- run: npm run build
3233
name: Build
@@ -50,5 +51,5 @@ jobs:
5051
if: always()
5152
with:
5253
path: |
53-
node_modules/.astro
54+
node_modules/.astro/assets
5455
key: static

.github/workflows/publish-production.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/cache/restore@v4
2323
with:
2424
path: |
25-
node_modules/.astro
25+
node_modules/.astro/assets
2626
key: static
2727
- run: npm run build
2828
name: Build
@@ -36,5 +36,5 @@ jobs:
3636
if: always()
3737
with:
3838
path: |
39-
node_modules/.astro
39+
node_modules/.astro/assets
4040
key: static
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Update api-schemas pinned commit
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
check-and-update:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
15+
steps:
16+
- name: Checkout docs repository
17+
uses: actions/checkout@v4
18+
19+
- name: Get latest api-schemas commit
20+
id: get-commit
21+
run: |
22+
LATEST_COMMIT=$(curl -s -H "Accept: application/vnd.github.v3+json" \
23+
https://api.github.com/repos/cloudflare/api-schemas/commits/main | \
24+
jq -r '.sha')
25+
echo "latest_commit=$LATEST_COMMIT" >> $GITHUB_OUTPUT
26+
27+
- name: Check current commit reference
28+
id: check-current
29+
run: |
30+
CURRENT_COMMIT=$(grep 'const COMMIT = ' src/util/api.ts | sed 's/.*"\(.*\)".*/\1/')
31+
echo "current_commit=$CURRENT_COMMIT" >> $GITHUB_OUTPUT
32+
33+
- name: Create PR if needed
34+
if: steps.get-commit.outputs.latest_commit != steps.check-current.outputs.current_commit
35+
run: |
36+
# Set up git config
37+
git config --global user.name 'github-actions[bot]'
38+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
39+
NEW_COMMIT="${{ steps.get-commit.outputs.latest_commit }}"
40+
BRANCH_NAME="update-api-schemas-$NEW_COMMIT"
41+
42+
# Check if PR already exists
43+
EXISTING_PR=$(gh pr list --head "$BRANCH_NAME" --json number --jq '.[0].number')
44+
if [ -n "$EXISTING_PR" ]; then
45+
echo "PR already exists for branch $BRANCH_NAME. Skipping PR creation."
46+
exit 0
47+
fi
48+
49+
# Create a new branch
50+
git checkout -b $BRANCH_NAME
51+
52+
# Update the commit reference
53+
sed -i "s/const COMMIT = \".*\"/const COMMIT = \"$NEW_COMMIT\"/" src/util/api.ts
54+
55+
# Commit and push changes
56+
git add src/util/api.ts
57+
git commit -m "[Docs Site] Update pinned api-schemas commit to $NEW_COMMIT"
58+
git push origin $BRANCH_NAME
59+
60+
# Create pull request
61+
gh pr create \
62+
--title "[Docs Site] Update pinned api-schemas commit" \
63+
--body "This PR updates the api-schemas commit reference to the latest version ($NEW_COMMIT)." \
64+
--base production \
65+
--head $BRANCH_NAME
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.hyperlint/config.yaml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
content_dir: /src/content
2-
authorized_users:
3-
- dcpena
4-
- kodster28
5-
- KianNH
6-
- marciocloudflare
7-
- pedrosousa
8-
- ranbel
9-
- RebeccaTamachiro
10-
style_guide:
2+
reviewer:
3+
custom_comment: |-
4+
Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within **two (2) weeks**. If it's been two weeks or longer without any movement, please tag the PR **Assignees** in a comment.
5+
6+
We review internal PRs within **1 week**. If it's something urgent or has been sitting without a comment, start a thread in the *Developer Docs* space internally.
117
enabled: true
12-
openapi:
13-
enabled: true
14-
urls:
15-
- https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.json
8+
external_link_validation:
9+
check_status_upon_review_failure: neutral
10+
summarize_pull_request:
11+
enabled: true
12+
vale_style_guide:
13+
check_status_upon_review_failure: neutral
14+
enabled: true
15+
limit_num_reviews: 2
16+
limit_num_comments: 7

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.9.0

0 commit comments

Comments
 (0)