Skip to content

Commit c36b2c1

Browse files
Merge branch 'production' into patricia19212-scraping-detections
2 parents 9c6b657 + dad96d1 commit c36b2c1

File tree

729 files changed

+22565
-11453
lines changed

Some content is hidden

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

729 files changed

+22565
-11453
lines changed

.github/CODEOWNERS

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44

55
# More dev-specific files
66

7-
/.github/ @kodster28 @pedrosousa @haleycode @kristianfreeman @GregBrimble @KianNH @maxvp @marciocloudflare @WalshyDev
7+
/.github/ @cloudflare/pcx-content-engineering
88
/.github/CODEOWNERS @cloudflare/pcx-technical-writing
9-
/.github/actions/assign-pr/index.js @cloudflare/pcx-technical-writing
10-
/src/components/ @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @marciocloudflare @haleycode @maxvp @GregBrimble @KianNH @WalshyDev
11-
*.js @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @GregBrimble @KianNH @WalshyDev
12-
*.ts @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @GregBrimble @KianNH @WalshyDev
13-
*.astro @cloudflare/developer-advocacy @kristianfreeman @kodster28 @pedrosousa @haleycode @GregBrimble @KianNH @WalshyDev
14-
/src/schemas/tags.ts @kodster28 @KianNH @joslyn-cf
15-
/src/content/workers-ai-models/ @craigsdennis @pedrosousa @cloudflare/pcx-technical-writing
16-
/public/__redirects @GregBrimble @KianNH @pedrosousa @WalshyDev @cloudflare/pcx-technical-writing
9+
/.github/actions/assign-pr/index.js @cloudflare/pcx-technical-writing @kodster28
10+
/src/components/ @cloudflare/pcx-content-engineering @kodster28
11+
*.js @cloudflare/pcx-content-engineering @kodster28
12+
*.ts @cloudflare/pcx-content-engineering @kodster28
13+
*.astro @cloudflare/pcx-content-engineering @kodster28
14+
/src/schemas/tags.ts @cloudflare/pcx-content-engineering @joslyn-cf @kodster28
15+
/src/util/api.ts @cloudflare/pcx-content-engineering @pedrosousa @kodster28
16+
/src/content/workers-ai-models/ @craigsdennis @cloudflare/pcx-content-engineering @cloudflare/pcx-technical-writing @kodster28
17+
/public/__redirects @cloudflare/pcx-content-engineering @cloudflare/pcx-technical-writing @kodster28
1718

1819

1920
# AI
@@ -137,6 +138,7 @@
137138
/src/content/docs/workers/observability/ @irvinebroque @mikenomitch @rohinlohe @kodster28 @cloudflare/pcx-technical-writing
138139
/src/content/docs/workers/static-assets @irvinebroque @GregBrimble @WalshyDev @kodster28 @cloudflare/deploy-config @cloudflare/pcx-technical-writing
139140
/src/content/docs/workflows/ @elithrar @celso @cloudflare/pcx-technical-writing
141+
/src/content/docs/sandbox/ @whoiskatrin @ghostwriternr @cloudflare/pcx-technical-writing @ai-agents
140142

141143
# DDoS Protection
142144

astro.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import starlightDocSearch from "@astrojs/starlight-docsearch";
44
import starlightImageZoom from "starlight-image-zoom";
55
import liveCode from "astro-live-code";
66
import starlightLinksValidator from "starlight-links-validator";
7+
import starlightScrollToTop from "starlight-scroll-to-top";
78
import icon from "astro-icon";
89
import sitemap from "@astrojs/sitemap";
910
import react from "@astrojs/react";
@@ -162,6 +163,14 @@ export default defineConfig({
162163
clientOptionsModule: "./src/plugins/docsearch/index.ts",
163164
}),
164165
starlightImageZoom(),
166+
starlightScrollToTop({
167+
tooltipText: "Back to top",
168+
showTooltip: true,
169+
svgPath: "M12 6L6 12M12 6L18 12M12 12L6 18M12 12L18 18",
170+
showProgressRing: true,
171+
progressRingColor: "white",
172+
showOnHomepage: false, // Hide on homepage (default)
173+
}),
165174
],
166175
lastUpdated: true,
167176
markdown: {

bin/validate-redirects.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ async function main() {
2727
numUrlsWithFragment++;
2828
}
2929

30-
if (!validEndings.some((ending) => from.endsWith(ending))) {
30+
if (
31+
// CED-76 - flag unslashed redirects b/c these don't behave as expected due to our routing / preference for slashed endpoints
32+
!validEndings.some((ending) => from.endsWith(ending)) &&
33+
// CED-99 - known exception for /api where this isn't natively handled by our app
34+
from != "/api"
35+
) {
3136
console.log(`✘ Found unslashed source URLs:\n ${from}`);
3237
numNonSlashedRedirects++;
3338
}

package-lock.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
"starlight-image-zoom": "0.13.0",
122122
"starlight-links-validator": "0.17.2",
123123
"starlight-package-managers": "0.11.0",
124+
"starlight-scroll-to-top": "0.4.0",
124125
"starlight-showcases": "0.3.0",
125126
"strip-markdown": "6.0.0",
126127
"suf-log": "2.5.3",

public/__redirects

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# homepage
22
/docs/ /directory/ 301
3+
/api /api/ 301
34
/products/ /directory/ 301
45
/zero-trust/ /products/?product-group=Cloudflare+One 301
56
/dashboard-landing/ / 301
67
/tutorials/ /search/?content_type%5B0%5D=Tutorial 301
78
/sitemap.xml /sitemap-index.xml
89
/deprecations/ /fundamentals/api/reference/deprecations/ 301
10+
/learning-paths/ /resources/ 301
911

1012
# changelog
1113
/changelog/rss.xml /changelog/rss/index.xml 301
@@ -276,6 +278,7 @@
276278
/bots/concepts/bot/verified-bots/ip-validation/ /bots/reference/bot-verification/ip-validation/ 301
277279
/bots/concepts/bot/verified-bots/web-bot-auth/ /bots/reference/bot-verification/web-bot-auth/ 301
278280
/bots/concepts/bot/verified-bots/overview/ /bots/concepts/bot/verified-bots/ 301
281+
/bots/frequently-asked-questions/ /bots/ 301
279282

280283
#browser-rendering
281284
/browser-rendering/get-started/browser-rendering-with-DO/ /browser-rendering/workers-bindings/browser-rendering-with-do/ 301
@@ -361,6 +364,9 @@
361364
/realtime/introduction/ /realtime/realtimekit/introduction/ 302
362365
/realtime/concepts/ /realtime/realtimekit/concepts/ 302
363366

367+
# Cloudflare Challenges
368+
/cloudflare-challenges/frequently-asked-questions/ /cloudflare-challenges/ 301
369+
364370
# china network
365371
/support/about-cloudflare/enterprise-documentation/understanding-and-configuring-an-icp-number/ /china-network/concepts/icp/ 301
366372
/china-network/concepts/china-express/ /china-network/concepts/global-acceleration/ 301
@@ -599,6 +605,7 @@
599605
/cloudflare-one/email-security/setup/post-delivery-deployment/bcc-journaling/journaling-setup/office365-journaling/ /cloudflare-one/email-security/setup/post-delivery-deployment/bcc-journaling/journaling-setup/m365-journaling/ 301
600606
/cloudflare-one/email-security/setup/pre-delivery-deployment/prerequisites/microsoft365-email-security-mx/ /cloudflare-one/email-security/setup/pre-delivery-deployment/prerequisites/m365-email-security-mx/ 301
601607
/cloudflare-one/email-security/setup/post-delivery-deployment/bcc-journaling/journaling-setup/manage-domains/ /cloudflare-one/email-security/setup/manage-domains/ 301
608+
/cloudflare-one/email-security/email-monitoring/download-disposition-report/ /cloudflare-one/email-security/email-monitoring/download-report/ 301
602609

603610
# firewall
604611
/firewall/api/cf-lists/ /waf/tools/lists/lists-api/ 301
@@ -1423,6 +1430,7 @@
14231430
/stream/reference/faq/ /stream/faq/ 301
14241431
/stream/platform/ /stream/changelog/ 301
14251432
/stream/reference/ /stream/faq/ 301
1433+
/stream/examples/wordpress/ /stream/examples/ 301
14261434

14271435
# style guide
14281436

@@ -2345,6 +2353,7 @@
23452353
/autorag/* /ai-search/:splat 301
23462354

23472355
# Cloudflare One / Zero Trust
2356+
/cloudflare-one/applications/configure-apps/dash-sso-apps/ /fundamentals/account/account-security/dashboard-sso/ 301
23482357
/cloudflare-one/connections/connect-networks/install-and-setup/tunnel-guide/local/as-a-service/* /cloudflare-one/connections/connect-networks/configure-tunnels/local-management/as-a-service/:splat 301
23492358
/cloudflare-one/connections/connect-apps/install-and-setup/deployment-guides/* /cloudflare-one/connections/connect-networks/deployment-guides/:splat 301
23502359
/cloudflare-one/connections/connect-networks/deploy-tunnels/deployment-guides/* /cloudflare-one/connections/connect-networks/deployment-guides/:splat 301
68.6 KB
Loading
76.5 KB
Loading
79.4 KB
Loading
112 KB
Loading

0 commit comments

Comments
 (0)