Skip to content

Commit 5fb3fc9

Browse files
authored
Merge branch 'cloudflare:production' into zaraz-changelog-dash-placement
2 parents 651ce5d + 86239b5 commit 5fb3fc9

File tree

417 files changed

+8526
-6704
lines changed

Some content is hidden

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

417 files changed

+8526
-6704
lines changed

.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/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
GH_REPO: ${{ github.repository }}
3737
NUMBER: ${{ github.event.pull_request.number }}
3838
- name: Internal comment
39-
run: gh pr comment "$NUMBER" --body "Howdy and thanks for contributing to our repo. We review internal PRs with **1 week**. If it's something urgent or has been sitting without a comment, start a thread in the *Developer Docs* space internally."
39+
run: gh pr comment "$NUMBER" --body "Howdy and thanks for contributing to our repo. 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."
4040
if: steps.check_if_contributor_is_external.outputs.is_external == 'false'
4141
env:
4242
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

astro.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ import starlightLinksValidator from "starlight-links-validator";
88
import icon from "astro-icon";
99
import sitemap from "@astrojs/sitemap";
1010
import react from "@astrojs/react";
11+
1112
import { readdir } from "fs/promises";
13+
import { fileURLToPath } from "url";
1214

1315
import rehypeTitleFigure from "rehype-title-figure";
1416
import rehypeMermaid from "./src/plugins/rehype/mermaid.ts";
1517
import rehypeAutolinkHeadings from "./src/plugins/rehype/autolink-headings.ts";
1618
import rehypeExternalLinks from "./src/plugins/rehype/external-links.ts";
1719
import rehypeHeadingSlugs from "./src/plugins/rehype/heading-slugs.ts";
18-
import { fileURLToPath } from "url";
1920

2021
async function autogenSections() {
2122
const sections = (

public/_redirects

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@
173173
/support/firewall/tools/cloudflare-bot-products-faqs/ /bots/troubleshooting/ 301
174174
/support/other-languages/deutsch/cloudflare-bot/ /bots/troubleshooting/ 301
175175
/bots/concepts/ja3-fingerprint/ /bots/concepts/ja3-ja4-fingerprint/ 301
176+
/bots/reference/verified-bot-categories/ /bots/concepts/bot/verified-bots/categories/ 301
177+
/bots/reference/verified-bot-policy/ /bots/concepts/bot/verified-bots/policy/ 301
176178

177179
# byoip
178180
/byoip/about/dynamic-advertisement/ /byoip/concepts/dynamic-advertisement/ 301
@@ -461,6 +463,7 @@
461463
/fundamentals/get-started/http-request-headers/ /fundamentals/reference/http-headers/ 301
462464
/fundamentals/get-started/network-ports/ /fundamentals/reference/network-ports/ 301
463465
/fundamentals/get-started/basic-tasks/improve-seo/ /fundamentals/performance/improve-seo/ 301
466+
/fundamentals/basic-tasks/improve-seo/ /fundamentals/performance/improve-seo/ 301
464467
/fundamentals/get-started/basic-tasks/allow-cloudflare-ip-addresses/ /fundamentals/concepts/cloudflare-ip-addresses/ 301
465468
/fundamentals/get-started/basic-tasks/account-setup/ /fundamentals/setup/account/ 301
466469
/fundamentals/get-started/concepts/cdn-cgi-endpoint/ /fundamentals/reference/cdn-cgi-endpoint/ 301
@@ -542,13 +545,15 @@
542545
/fundamentals/get-started/get-started-external-link/ /learning-paths/get-started/ 301
543546
/fundamentals/get-started/task-guides/prevent-ddos-attacks-external/ /learning-paths/prevent-ddos-attacks/ 301
544547
/fundamentals/get-started/task-guides/origin-health/free/ /fundamentals/security/protect-your-origin-server/ 301
548+
/fundamentals/basic-tasks/protect-your-origin-server/ /fundamentals/security/protect-your-origin-server/ 301
545549
/fundamentals/get-started/task-guides/origin-health/business/ /fundamentals/security/protect-your-origin-server/ 301
546550
/fundamentals/get-started/task-guides/origin-health/pro/ /fundamentals/security/protect-your-origin-server/ 301
547-
/fundamentals/get-started/task-guides/origin-health/enterprise/ /fundamentals/security/protect-your-origin-server/301
551+
/fundamentals/get-started/task-guides/origin-health/enterprise/ /fundamentals/security/protect-your-origin-server/ 301
548552
/fundamentals/get-started/task-guides/origin-health/ /fundamentals/security/protect-your-origin-server/ 301
549553
/fundamentals/get-started/task-guides/ /fundamentals/basic-tasks/ 301
550554
/fundamentals/get-started/setup/ /fundamentals/setup/ 301
551555
/fundamentals/get-started/setup/minimize-downtime/ /fundamentals/performance/minimize-downtime/ 301
556+
/fundamentals/basic-tasks/maintenance-mode/ /fundamentals/performance/minimize-downtime/ 301
552557
/fundamentals/get-started/concepts/what-is-cloudflare/ /fundamentals/concepts/what-is-cloudflare/ 301
553558
/fundamentals/get-started/concepts/cloudflare-challenges/ /waf/reference/cloudflare-challenges/ 301
554559
/fundamentals/get-started/concepts/accounts-and-zones/ /fundamentals/setup/accounts-and-zones/ 301
@@ -565,14 +570,17 @@
565570
/fundamentals/get-started/basic-tasks/manage-domains/redirect-domain/ /fundamentals/setup/manage-domains/redirect-domain/ 301
566571
/fundamentals/get-started/basic-tasks/cloudflare-without-changing-nameservers/ /fundamentals/setup/use-cloudflare-without-changing-nameservers/ 301
567572
/fundamentals/get-started/basic-tasks/interact-with-cloudflare/ /fundamentals/setup/interact-with-cloudflare/ 301
573+
/fundamentals/basic-tasks/interact-with-cloudflare/ /fundamentals/setup/interact-with-cloudflare/ 301
568574
/fundamentals/get-started/basic-tasks/manage-subdomains/ /fundamentals/setup/manage-domains/manage-subdomains/ 301
569575
/fundamentals/get-started/basic-tasks/report-abuse/provide-specific-urls/ /fundamentals/reference/report-abuse/provide-specific-urls/ 301
570576
/fundamentals/get-started/basic-tasks/report-abuse/complaint-types/ /fundamentals/reference/report-abuse/complaint-types/ 301
571577
/fundamentals/get-started/basic-tasks/report-abuse/ /fundamentals/reference/report-abuse/ 301
572578
/fundamentals/get-started/basic-tasks/access-compliance-docs/ /fundamentals/reference/policies-compliances/compliance-docs/ 301
573579
/fundamentals/get-started/basic-tasks/under-ddos-attack/ /fundamentals/security/under-ddos-attack/ 301
580+
/fundamentals/basic-tasks/under-ddos-attack/ /fundamentals/security/under-ddos-attack/ 301
574581
/fundamentals/get-started/basic-tasks/test-speed/ /fundamentals/performance/test-speed/ 301
575-
/fundamentals/get-started/basic-tasks/ /fundamentals/basic-tasks/ 301
582+
/fundamentals/basic-tasks/test-speed/ /fundamentals/performance/test-speed/ 301
583+
/fundamentals/get-started/basic-tasks/ /fundamentals/performance/test-speed/ 301
576584
/fundamentals/get-started/basic-tasks/account-security/securing-a-compromised-account/ /fundamentals/setup/account/account-security/secure-a-compromised-account/ 301
577585
/fundamentals/get-started/basic-tasks/account-security/review-audit-logs/ /fundamentals/setup/account/account-security/review-audit-logs/ 301
578586
/fundamentals/get-started/basic-tasks/account-security/manage-active-sessions/ /fundamentals/setup/account/account-security/manage-active-sessions/ 301
@@ -618,7 +626,6 @@
618626
/fundamentals/reference/changelog/ /fundamentals/reference/ 302
619627
/fundamentals/basic-tasks/optimize-speed-external-link/ /fundamentals/performance/optimize-speed-external-link/ 301
620628
/fundamentals/basic-tasks/prevent-ddos-attacks-external/ /fundamentals/security/prevent-ddos-attacks-external/ 301
621-
/fundamentals/basic-tasks/protect-your-origin-server/ /fundamentals/security/protect-your-origin-server/ 301
622629
/fundamentals/basic-tasks/pci-scans/ /fundamentals/security/pci-scans/ 301
623630
/fundamentals/basic-tasks/trace-request/ /fundamentals/trace-request/ 301
624631
/fundamentals/basic-tasks/trace-request/how-to/ /fundamentals/trace-request/how-to/ 301
@@ -1202,6 +1209,7 @@
12021209
/support/more-dashboard-apps/cloudflare-scrape-shield/why-doesnt-my-rss-feed-show-images/ /waf/tools/scrape-shield/hotlink-protection/ 301
12031210
/support/more-dashboard-apps/cloudflare-scrape-shield/ /waf/tools/scrape-shield/ 301
12041211
/support/about-cloudflare/attack-preparation-and-response/recovering-from-a-hacked-site/ /fundamentals/security/recovering-from-hacked-site/ 301
1212+
/fundamentals/basic-tasks/recovering-from-hacked-site/ /fundamentals/security/recovering-from-hacked-site/ 301
12051213
/support/firewall/learn-more/configuring-token-authentication/ /waf/custom-rules/use-cases/configure-token-authentication/ 301
12061214
/support/firewall/learn-more/ /waf/troubleshooting/ 301
12071215
/support/firewall/ /waf/troubleshooting/ 301
@@ -1222,8 +1230,9 @@
12221230
/support/ssl-tls/faq-and-reference/ /ssl/reference/ 301
12231231
/support/account-management-billing/account-privacy-and-security/understanding-samesite-cookie-interaction-with-cloudflare/ /waf/troubleshooting/samesite-cookie-interaction/ 301
12241232
/support/account-management-billing/account-privacy-and-security/ /support/account-management-billing/ 301
1225-
/support/troubleshooting/general-troubleshooting/troubleshooting-surges-or-spikes-in-web-traffic/ /fundamentals/performance/preparing-for-surges-or-spikes-in-web-traffic/ 301
1233+
/support/troubleshooting/general-troubleshooting/troubleshooting-surges-or-spikes-in-web-traffic/ /fundamentals/basic-tasks/preparing-for-surges-or-spikes-in-web-traffic/ 301
12261234
/support/troubleshooting/general-troubleshooting/preparing-for-surges-or-spikes-in-web-traffic/ /fundamentals/performance/preparing-for-surges-or-spikes-in-web-traffic/ 301
1235+
/fundamentals/basic-tasks/preparing-for-surges-or-spikes-in-web-traffic/ /fundamentals/performance/preparing-for-surges-or-spikes-in-web-traffic/ 301
12271236
/support/third-party-software/others/configuring-an-amazon-web-services-static-site-to-use-cloudflare/ /rules/cloud-connector/providers/ 301
12281237
/support/third-party-software/others/enabling-cloudflare-ssl-on-azure-storage-static-web-hosting-applications/ /rules/cloud-connector/providers/ 301
12291238

@@ -1341,6 +1350,9 @@
13411350
/waf/tools/scrape-shield/server-side-excludes/ /waf/tools/scrape-shield/ 301
13421351
/waf/rate-limiting-rules/create-account-dashboard/ /waf/account/rate-limiting-rulesets/create-dashboard/ 301
13431352
/waf/managed-rules/deploy-account-dashboard/ /waf/account/managed-rulesets/deploy-dashboard/ 301
1353+
/waf/analytics/security-events/free-plan/ /waf/analytics/security-events/ 301
1354+
/waf/analytics/security-events/paid-plans/ /waf/analytics/security-events/ 301
1355+
/waf/analytics/security-events/additional-information/ /waf/tools/validation-checks/ 301
13441356

13451357
# waiting-room
13461358
/waiting-room/how-to/mobile-traffic/ /waiting-room/how-to/json-response/ 301
@@ -1882,6 +1894,7 @@
18821894
/cloudflare-one/policies/browser-isolation/agentless/* /cloudflare-one/policies/browser-isolation/setup/:splat 301
18831895
/cloudflare-one/policies/filtering/http-policies/data-loss-prevention/* /cloudflare-one/policies/data-loss-prevention/ 301
18841896
/cloudflare-one/policies/data-loss-prevention/configuration-guides/* /cloudflare-one/policies/data-loss-prevention/dlp-policies/common-policies/ 301
1897+
/cloudflare-one/insights/dex/fleet-status/ /cloudflare-one/insights/dex/monitoring/ 301
18851898

18861899
# Learning paths
18871900
/learning-paths/modules/cybersafe/cybersafe-account-creation/* /learning-paths/cybersafe/account-creation/:splat 301
91.9 KB
Loading
-84.7 KB
Binary file not shown.
-16.6 KB
Binary file not shown.
-10.3 KB
Loading
139 KB
Loading

src/components/Markdown.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
22
import { z } from "astro:schema";
33
import { marked } from "marked";
4+
import dedent from "dedent";
45
56
type Props = z.infer<typeof props>;
67
78
const props = z.object({
8-
text: z.string(),
9+
text: z.string().transform((val) => dedent(val)),
910
inline: z.boolean().default(true),
1011
});
1112

0 commit comments

Comments
 (0)