Skip to content

Commit 376cdd9

Browse files
committed
Merge branch 'production' into ranbel/dex-pcap
merge in dex logs updates
2 parents 17f53e6 + ee332ed commit 376cdd9

File tree

690 files changed

+52154
-8924
lines changed

Some content is hidden

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

690 files changed

+52154
-8924
lines changed

.github/CODEOWNERS

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@
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

@@ -89,13 +90,13 @@
8990
/src/content/docs/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
9091
/src/content/changelogs/d1.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
9192
/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
93+
/src/content/docs/durable-objects/ @elithrar @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
94+
/src/content/changelogs/durable-objects.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
9495
/src/content/docs/email-routing/ @cloudflare/pcx-technical-writing
9596
/src/content/docs/hyperdrive/ @elithrar @thomasgauvin @sejoker @oxyjun @cloudflare/pcx-technical-writing
9697
/src/content/changelogs/hyperdrive.yaml @elithrar @thomasgauvin @sejoker @oxyjun @cloudflare/pcx-technical-writing
9798
/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
99+
/src/content/changelogs/durable-objects.yaml @elithrar @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
99100
/src/content/docs/images/ @dcpena @cloudflare/pcx-technical-writing @renandincer @third774
100101
/src/content/docs/pages/ @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @irvinebroque @cloudflare/pcx-technical-writing @ToriLindsay
101102
/src/assets/images/pages/ @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @cloudflare/pcx-technical-writing @ToriLindsay
@@ -111,6 +112,7 @@
111112
/src/content/docs/stream/ @tsmith512 @dcpena @cloudflare/pcx-technical-writing @renandincer @third774
112113
/src/content/changelogs/stream.yaml @tsmith512 @dcpena @cloudflare/pcx-technical-writing
113114
/src/content/docs/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @WalshyDev @cloudflare/pcx-technical-writing @ToriLindsay
115+
/src/content/partials/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @WalshyDev @cloudflare/pcx-technical-writing @ToriLindsay
114116
/src/assets/images/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @WalshyDev @cloudflare/pcx-technical-writing @ToriLindsay
115117
/src/content/changelogs/workers.yaml @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @cloudflare/pcx-technical-writing @irvinebroque
116118
/src/content/docs/zaraz/ @bjesus @jonnyparris @simonabadoiu @cloudflare/pcx-technical-writing
@@ -130,6 +132,7 @@
130132
/cloudflare-for-platforms/workers-for-platforms/ @irvinebroque @tanushree-sharma @angelampcosta @GregBrimble @cloudflare/pcx-technical-writing
131133
/src/content/docs/workers/observability/ @irvinebroque @mikenomitch @rohinlohe @cloudflare/pcx-technical-writing
132134
/src/content/docs/workers/static-assets @irvinebroque @tanushree-sharma @GregBrimble @WalshyDev @cloudflare/pcx-technical-writing
135+
/src/content/docs/workflows/ @elithrar @celso @sidharthachatterjee @cloudflare/pcx-technical-writing
133136

134137
# DDoS Protection
135138

.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: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,12 @@ 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
@@ -44,5 +37,14 @@ jobs:
4437
NODE_OPTIONS: "--max-old-space-size=4192"
4538
RUN_LINK_CHECK: true
4639

40+
- uses: actions/cache/save@v4
41+
with:
42+
path: |
43+
node_modules/.astro
44+
key: static
45+
4746
- name: Check - Validate redirects (infinite loops, sources with fragment)
4847
run: npx tsm bin/validate-redirects.ts
48+
49+
- name: Tests
50+
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
on:
33
pull_request: {}
44
workflow_dispatch: {}
5-
push:
6-
branches:
7-
- main
8-
- master
95
schedule:
10-
- cron: '0 0 * * *'
6+
- cron: '0 4 * * *'
117
name: Semgrep config
128
jobs:
139
semgrep:

astro.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import tailwind from "@astrojs/tailwind";
44
import starlightDocSearch from "@astrojs/starlight-docsearch";
55
import starlightImageZoom from "starlight-image-zoom";
66
import liveCode from "astro-live-code";
7-
import rehypeSlug from "rehype-slug";
87
import rehypeMermaid from "rehype-mermaid";
98
import rehypeAutolinkHeadings, {
109
type Options as rehypeAutolinkHeadingsOptions,
@@ -17,6 +16,7 @@ import icon from "astro-icon";
1716
import sitemap from "@astrojs/sitemap";
1817
import react from "@astrojs/react";
1918
import rehypeTitleFigure from "rehype-title-figure";
19+
import rehypeHeadingSlugs from "./plugins/rehype/heading-slugs";
2020

2121
const runLinkCheck = process.env.RUN_LINK_CHECK || false;
2222

@@ -95,7 +95,7 @@ export default defineConfig({
9595
rel: ["noopener"],
9696
},
9797
],
98-
rehypeSlug,
98+
rehypeHeadingSlugs,
9999
[rehypeAutolinkHeadings, autolinkConfig],
100100
// @ts-expect-error TODO: fix types
101101
rehypeTitleFigure,
@@ -155,7 +155,6 @@ export default defineConfig({
155155
MarkdownContent: "./src/components/overrides/MarkdownContent.astro",
156156
Sidebar: "./src/components/overrides/Sidebar.astro",
157157
PageSidebar: "./src/components/overrides/PageSidebar.astro",
158-
SiteTitle: "./src/components/overrides/SiteTitle.astro",
159158
PageTitle: "./src/components/overrides/PageTitle.astro",
160159
SocialIcons: "./src/components/overrides/SocialIcons.astro",
161160
SkipLink: "./src/components/overrides/SkipLink.astro",
@@ -170,6 +169,7 @@ export default defineConfig({
170169
"./src/mermaid.css",
171170
"./src/table.css",
172171
"./src/tailwind.css",
172+
"./src/title.css",
173173
"./src/tooltips.css",
174174
],
175175
pagination: false,

0 commit comments

Comments
 (0)