Skip to content

Commit 827d2bf

Browse files
Merge branch 'production' into patricia/pcx17366-challenge-types
2 parents abcfe7d + 129dff0 commit 827d2bf

File tree

138 files changed

+2221
-734
lines changed

Some content is hidden

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

138 files changed

+2221
-734
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
/src/content/docs/registrar/ @dcpena @cloudflare/pcx-technical-writing
9191
/src/content/docs/rules/ @pedrosousa @cloudflare/pcx-technical-writing
9292
/src/content/docs/ruleset-engine/ @pedrosousa @cloudflare/pcx-technical-writing
93+
/src/content/docs/log-explorer/ @angelampcosta @cloudflare/pcx-technical-writing
9394

9495
# Developer Platform
9596

@@ -121,9 +122,9 @@
121122
/src/content/release-notes/r2.yaml @oxyjun @elithrar @aninibread @cloudflare/workers-docs @cloudflare/pcx-technical-writing
122123
/src/content/docs/stream/ @tsmith512 @ToriLindsay @cloudflare/pcx-technical-writing @renandincer @third774
123124
/src/content/release-notes/stream.yaml @tsmith512 @ToriLindsay @cloudflare/pcx-technical-writing
124-
/src/content/docs/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @kodster28 @cloudflare/wrangler @cloudflare/workers-runtime-1
125-
/src/content/partials/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @kodster28 @cloudflare/wrangler @cloudflare/workers-runtime-1
126-
/src/assets/images/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @kodster28 @cloudflare/wrangler @cloudflare/workers-runtime-1
125+
/src/content/docs/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @korinne @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @kodster28 @cloudflare/wrangler @cloudflare/workers-runtime-1 @cloudflare/wrangler
126+
/src/content/partials/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @kodster28 @cloudflare/wrangler @cloudflare/workers-runtime-1 @cloudflare/wrangler
127+
/src/assets/images/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @kodster28 @cloudflare/wrangler @cloudflare/workers-runtime-1 @cloudflare/wrangler
127128
/src/content/release-notes/workers.yaml @cloudflare/workers-docs @GregBrimble @WalshyDev @aninibread @cloudflare/deploy-config @cloudflare/pcx-technical-writing @irvinebroque @mikenomitch
128129
/src/content/docs/zaraz/ @bjesus @jonnyparris @simonabadoiu @cloudflare/pcx-technical-writing
129130
/src/content/release-notes/zaraz.yaml @bjesus @jonnyparris @simonabadoiu @cloudflare/pcx-technical-writing

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565
"dedent": "1.6.0",
6666
"dompurify": "3.2.6",
6767
"dot-prop": "9.0.0",
68-
"eslint": "9.28.0",
68+
"eslint": "9.29.0",
6969
"eslint-plugin-astro": "1.3.1",
7070
"eslint-plugin-jsx-a11y": "6.10.2",
7171
"eslint-plugin-react": "7.37.5",
7272
"fast-glob": "3.3.3",
73-
"fast-xml-parser": "5.2.3",
73+
"fast-xml-parser": "5.2.5",
7474
"github-slugger": "2.0.0",
7575
"globals": "16.2.0",
7676
"hast-util-heading-rank": "3.0.0",
@@ -116,7 +116,7 @@
116116
"sharp": "0.34.2",
117117
"solarflare-theme": "0.0.4",
118118
"starlight-image-zoom": "0.12.0",
119-
"starlight-links-validator": "0.16.0",
119+
"starlight-links-validator": "0.17.0",
120120
"starlight-package-managers": "0.11.0",
121121
"starlight-showcases": "0.3.0",
122122
"strip-markdown": "6.0.0",

public/__redirects

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@
188188
/analytics/graphql-api/tutorials/build-your-own-analytics/ /analytics/graphql-api/tutorials/ 301
189189
/analytics/graphql-api/tutorials/export-graphql-to-csv/ /analytics/graphql-api/tutorials/ 301
190190
/analytics/analytics-integrations/google-cloud/ /analytics/analytics-integrations/ 301
191+
/analytics/dashboards/ /log-explorer/custom-dashboards/ 301
191192

192193
# email-security
193194
/email-security/reporting/search/detection-search/ /email-security/reporting/search/ 301
@@ -211,6 +212,10 @@
211212
/api-shield/security/sequential-abuse-detection/ /api-shield/security/sequence-analytics/ 301
212213
/api-shield/security/bola-attack-detection/ /api-shield/security/bola-vulnerability-detection/ 301
213214
/api-shield/management-and-monitoring/api-routing/configure/ /api-shield/management-and-monitoring/api-routing/ 301
215+
/api-shield/security/graphql-protection/configure/ /api-shield/security/graphql-protection/api/ 301
216+
/api-shield/security/jwt-validation/configure/ /api-shield/security/jwt-validation/api/ 301
217+
/api-shield/security/schema-validation/configure/ /api-shield/security/schema-validation/api/ 301
218+
/api-shield/security/sequence-mitigation/configure/ /api-shield/security/sequence-mitigation/api/ 301
214219

215220
#autorag
216221
/autorag/usage/recipes/ /autorag/how-to/ 301
@@ -933,6 +938,7 @@
933938
/logs/reference/logpush-api-configuration/filters/ /logs/reference/filters/ 301
934939
# Non-slashed version is being used in the Cloudflare dashboard
935940
/logs/reference/logpush-api-configuration/examples/example-logpush-curl/ /logs/tutorials/examples/example-logpush-curl/ 301
941+
/logs/log-explorer/ /log-explorer/log-search/ 301
936942

937943
# magic-firewall
938944
/magic-firewall/reference/examples/ /magic-firewall/how-to/add-rules/ 301
@@ -1533,6 +1539,11 @@
15331539
/workers/about/tips/debugging/ /workers/observability/ 301
15341540
/workers/testing/debugging-tools/ /workers/observability/dev-tools/ 301
15351541
/workers/testing/local-development/ /workers/local-development/ 301
1542+
/workers/local-development/ /workers/development-testing/#local-development 301
1543+
/workers/local-development/bindings-per-env/ /workers/development-testing/bindings-per-env/ 301
1544+
/workers/local-development/environment-variables/ /workers/development-testing/environment-variables/ 301
1545+
/workers/local-development/local-data/ /workers/development-testing/local-data/ 301
1546+
/workers/local-development/remote-data/ /workers/development-testing/#remote-bindings 301
15361547
/workers/about/using-cache/ /workers/reference/how-the-cache-works/ 301
15371548
/workers/learning/how-the-cache-works/ /workers/reference/how-the-cache-works/ 301
15381549
/workers/api/ /api/resources/workers/subresources/scripts/methods/list/ 301
50.5 KB
Loading
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
import { z } from "astro:schema";
3+
import { getComponentsUsage } from "~/util/components";
4+
import Details from "./Details.astro";
5+
6+
type Props = z.infer<typeof props>;
7+
8+
const props = z.object({
9+
component: z.string(),
10+
});
11+
12+
const { component } = props.parse(Astro.props);
13+
14+
const usage = await getComponentsUsage(component);
15+
---
16+
17+
<>
18+
<p>
19+
<code>{component}</code> is used <code>{usage.count}</code> times on{" "}
20+
<code>{usage.pages.size}</code> pages.
21+
</p>
22+
<Details header={`Pages which use ${component}`}>
23+
<ul>
24+
{
25+
[...usage.pages].map((path) => (
26+
<li>
27+
<a
28+
href={
29+
"https://github.com/cloudflare/cloudflare-docs/blob/production/" +
30+
path
31+
}
32+
target="_blank"
33+
>
34+
{path}
35+
</a>
36+
</li>
37+
))
38+
}
39+
</ul>
40+
</Details>
41+
</>
Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import { getComponentsUsage } from "~/util/components";
33
import AnchorHeading from "./AnchorHeading.astro";
4-
import Details from "./Details.astro";
4+
import ComponentUsage from "./ComponentUsage.astro";
55
66
const components = await getComponentsUsage();
77
@@ -11,30 +11,10 @@ const alphabetical = Object.entries(components).sort(([a], [b]) =>
1111
---
1212

1313
{
14-
alphabetical.map(([component, usage]) => (
14+
alphabetical.map(([component]) => (
1515
<>
1616
<AnchorHeading depth={2} title={component} />
17-
<p>
18-
<code>{component}</code> is used <code>{usage.count}</code> times on{" "}
19-
<code>{usage.pages.size}</code> pages.
20-
</p>
21-
<Details header={`Pages which use ${component}`}>
22-
<ul>
23-
{[...usage.pages].map((path) => (
24-
<li>
25-
<a
26-
href={
27-
"https://github.com/cloudflare/cloudflare-docs/blob/production/" +
28-
path
29-
}
30-
target="_blank"
31-
>
32-
{path}
33-
</a>
34-
</li>
35-
))}
36-
</ul>
37-
</Details>
17+
<ComponentUsage component={component} />
3818
</>
3919
))
4020
}

0 commit comments

Comments
 (0)