Skip to content

Commit

Permalink
Merge branch 'production' into pedro/PCX-14588-waf-add-terraform-info…
Browse files Browse the repository at this point in the history
…-for-leaked-credentials
  • Loading branch information
pedrosousa committed Jan 10, 2025
2 parents 9659951 + 4a8e97e commit cdffd39
Show file tree
Hide file tree
Showing 1,414 changed files with 39,930 additions and 33,493 deletions.
40 changes: 22 additions & 18 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

# Analytics & Logs

/src/content/docs/analytics/ @46bit @bharatnc @jherre @jimhawkridge @soheiokamoto @victor-perov @angelampcosta @cloudflare/pcx-technical-writing
/src/content/docs/analytics/ @46bit @jherre @jimhawkridge @soheiokamoto @victor-perov @angelampcosta @cloudflare/pcx-technical-writing
/src/content/docs/data-localization/ @soheiokamoto @angelampcosta @cloudflare/pcx-technical-writing
/src/content/docs/logs/ @cmackenzie1 @bharatnc @jherre @soheiokamoto @victor-perov @angelampcosta @cloudflare/pcx-technical-writing
/src/content/docs/logs/ @cmackenzie1 @jherre @soheiokamoto @victor-perov @angelampcosta @cloudflare/pcx-technical-writing

# API & Zones

Expand All @@ -42,24 +42,28 @@

# Browser Rendering API

/src/content/docs/browser-rendering/ @tanushree-sharma @mchenco @cloudflare/pcx-technical-writing @celso @meddulla
/src/content/docs/browser-rendering/ @mchenco @cloudflare/pcx-technical-writing @celso @meddulla

# Changelogs

/src/content/changelogs-next/ @elithrar @irvinebroque @jonesphillip @rita3ko @zaidf

# Cloudflare One

/src/content/docs/cloudflare-one/ @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/applications/ @kennyj42 @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/identity/ @kennyj42 @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/policies/access/ @kennyj42 @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/connections/connect-devices/ @kkrum @dh-cf @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/connections/connect-networks/ @janani-cr @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/insights/ @abelinkinbio @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/connections/connect-devices/ @kkrum @kokolocomotion1 @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/connections/connect-networks/ @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/applications/scan-apps/ @maxvp @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/policies/gateway/ @maxvp @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/policies/browser-isolation/ @maxvp @abelinkinbio @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/policies/browser-isolation/ @maxvp @ranbel @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/policies/data-loss-prevention/ @maxvp @cloudflare/pcx-technical-writing
/src/content/docs/cloudflare-one/insights/dex/ @deadlypants1973 @cloudflare/pcx-technical-writing
/src/content/docs/email-security/ @Maddy-Cloudflare @cloudflare/pcx-technical-writing
/src/content/changelogs/access.yaml @ranbel @kennyj42 @cloudflare/pcx-technical-writing
/src/content/changelogs/warp.yaml @ranbel @dh-cf @cloudflare/pcx-technical-writing
/src/content/changelogs/warp.yaml @kokolocomotion1 @ranbel @cloudflare/pcx-technical-writing

# Consumer products

Expand Down Expand Up @@ -108,8 +112,8 @@
/src/content/docs/pub-sub/ @elithrar @dcpena @cloudflare/pcx-technical-writing
/src/content/docs/queues/ @elithrar @toddmantell @maheshwarip @cloudflare/pcx-technical-writing
/src/content/changelogs/queues.yaml @elithrar @toddmantell @maheshwarip @cloudflare/pcx-technical-writing
/src/content/docs/r2/ @dcpena @elithrar @jonesphillip @cloudflare/workers-docs @cloudflare/pcx-technical-writing
/src/content/changelogs/r2.yaml @dcpena @elithrar @cloudflare/workers-docs @cloudflare/pcx-technical-writing
/src/content/docs/r2/ @oxyjun @elithrar @jonesphillip @cloudflare/workers-docs @cloudflare/pcx-technical-writing
/src/content/changelogs/r2.yaml @oxyjun @elithrar @cloudflare/workers-docs @cloudflare/pcx-technical-writing
/src/content/docs/stream/ @tsmith512 @dcpena @cloudflare/pcx-technical-writing @renandincer @third774
/src/content/changelogs/stream.yaml @tsmith512 @dcpena @cloudflare/pcx-technical-writing
/src/content/docs/workers/ @cloudflare/workers-docs @GregBrimble @irvinebroque @mikenomitch @WalshyDev @cloudflare/deploy-config @cloudflare/pcx-technical-writing @ToriLindsay
Expand All @@ -121,21 +125,21 @@
/src/content/docs/workers/ci-cd/ @irvinebroque @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/docs/workers/runtime-apis/ @irvinebroque @jasnell @mikenomitch @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/docs/workers/runtime-apis/bindings/ @irvinebroque @mikenomitch @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/docs/workers/platform/ @irvinebroque @tanushree-sharma @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
/src/content/docs/workers/platform/ @irvinebroque @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
/src/content/docs/workers/configuration/compatibility-dates/ @irvinebroque @mikenomitch @GregBrimble @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
/src/content/docs/workers/configuration/compatibility-flags/ @irvinebroque @mikenomitch @GregBrimble @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing

/src/content/docs/workers/reference/migrate-to-module-workers/ @irvinebroque @GregBrimble @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
/src/content/docs/workers/reference/security-model/ @irvinebroque @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/compatibility-flags/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
/src/content/docs/workers/wrangler/ @penalosa @petebacondarwin @dario-piotrowicz @irvinebroque @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/docs/workers/wrangler/ @cloudflare/wrangler @cloudflare/wrangler-friends @irvinebroque @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/docs/workers/frameworks/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/docs/pages/framework-guides/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @tanushree-sharma @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/docs/pages/framework-guides/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/docs/analytics/analytics-engine/ @irvinebroque @elithrar @cloudflare/pcx-technical-writing
/cloudflare-for-platforms/workers-for-platforms/ @irvinebroque @tanushree-sharma @angelampcosta @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
/cloudflare-for-platforms/workers-for-platforms/ @irvinebroque @angelampcosta @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
/src/content/docs/workers/observability/ @irvinebroque @mikenomitch @rohinlohe @ToriLindsay @cloudflare/pcx-technical-writing
/src/content/docs/workers/static-assets @irvinebroque @tanushree-sharma @GregBrimble @WalshyDev @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
/src/content/docs/workflows/ @elithrar @celso @sidharthachatterjee @cloudflare/pcx-technical-writing
/src/content/docs/workers/static-assets @irvinebroque @GregBrimble @WalshyDev @ToriLindsay @cloudflare/deploy-config @cloudflare/pcx-technical-writing
/src/content/docs/workflows/ @ToriLindsay @elithrar @celso @sidharthachatterjee @cloudflare/pcx-technical-writing

# DDoS Protection

Expand Down Expand Up @@ -180,8 +184,8 @@

# Radar

/src/content/docs/radar/ @meddulla @G4brym @tiagoad @cloudflare/pcx-technical-writing
/src/content/changelogs/radar.yaml @meddulla @G4brym @tiagoad @cloudflare/pcx-technical-writing
/src/content/docs/radar/ @meddulla @G4brym @tiagoad @andre-j3sus @cloudflare/pcx-technical-writing
/src/content/changelogs/radar.yaml @meddulla @G4brym @tiagoad @andre-j3sus @cloudflare/pcx-technical-writing

# Reference architecture

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
name: Publish Preview
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22.x
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
name: Publish Production
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22.x
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
/** @type {import("prettier").Config} */
export default {
plugins: ["prettier-plugin-astro"],
plugins: ["prettier-plugin-astro", "prettier-plugin-tailwindcss"],
useTabs: true,
overrides: [
{
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ If we require more information to address your pull request, the `more-informati

## Wrangler config

If you're adding a code snippet to the docs that represents a Wrangler config file (`wrangler.toml` or `wrangler.json`) make sure you wrap it with the `<WranglerConfig>` component, which ensure it's rendered as both JSON and TOML e.g.
If you're adding a code snippet to the docs that represents a Wrangler config file (`wrangler.toml`, `wrangler.json`, or `wrangler.jsonc`) make sure you wrap it with the `<WranglerConfig>` component, which ensure it's rendered as both JSON and TOML e.g.

````
Expand Down
72 changes: 35 additions & 37 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export default defineConfig({
Footer: "./src/components/overrides/Footer.astro",
Head: "./src/components/overrides/Head.astro",
Hero: "./src/components/overrides/Hero.astro",
LastUpdated: "./src/components/overrides/LastUpdated.astro",
MarkdownContent: "./src/components/overrides/MarkdownContent.astro",
Sidebar: "./src/components/overrides/Sidebar.astro",
PageSidebar: "./src/components/overrides/PageSidebar.astro",
Expand All @@ -174,43 +175,40 @@ export default defineConfig({
"./src/tooltips.css",
],
pagination: false,
plugins: runLinkCheck
? [
starlightLinksValidator({
errorOnInvalidHashes: false,
errorOnLocalLinks: false,
exclude: [
"/api/",
"/api/operations/**",
"/changelog/",
"/http/resources/**",
"{props.*}",
"/",
"**/glossary/?term=**",
"/products/?product-group=*",
"/products/",
"/rules/snippets/examples/?operation=*",
"/rules/transform/examples/?operation=*",
"/workers/examples/?languages=*",
"/workers/examples/?tags=*",
"/workers-ai/models/**",
],
}),
starlightDocSearch({
appId: "8MU1G3QO9P",
apiKey: "4edb0a6cef3338ff4bcfbc6b3d2db56b",
indexName: "TEST - Re-dev docs",
}),
starlightImageZoom(),
]
: [
starlightDocSearch({
appId: "8MU1G3QO9P",
apiKey: "4edb0a6cef3338ff4bcfbc6b3d2db56b",
indexName: "TEST - Re-dev docs",
}),
starlightImageZoom(),
],
plugins: [
...(runLinkCheck
? [
starlightLinksValidator({
errorOnInvalidHashes: false,
errorOnLocalLinks: false,
exclude: [
"/api/",
"/api/**",
"/changelog/",
"/http/resources/**",
"{props.*}",
"/",
"**/glossary/?term=**",
"/products/?product-group=*",
"/products/",
"/rules/snippets/examples/?operation=*",
"/rules/transform/examples/?operation=*",
"/workers/examples/?languages=*",
"/workers/examples/?tags=*",
"/workers-ai/models/**",
],
}),
]
: []),
starlightDocSearch({
appId: "D32WIYFTUF",
apiKey: "5cec275adc19dd3bc17617f7d9cf312a",
indexName: "prod_devdocs",
insights: true,
}),
starlightImageZoom(),
],
lastUpdated: true,
}),
tailwind({
applyBaseStyles: false,
Expand Down
2 changes: 1 addition & 1 deletion bin/fetch-ai-models.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fetch("https://ai.cloudflare.com/api/models")
const fileName = model.name.split("/")[2];
fs.writeFileSync(
`./src/content/workers-ai-models/${fileName}.json`,
JSON.stringify(model),
JSON.stringify(model, null, 4),
"utf-8",
);
});
Expand Down
3 changes: 3 additions & 0 deletions ec.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import lightTheme from "solarflare-theme/themes/cloudflare-light-color-theme.jso
import { definePlugin } from "@expressive-code/core";
import { h } from "@expressive-code/core/hast";

import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections";

import lzstring from "lz-string";

/**
Expand Down Expand Up @@ -156,6 +158,7 @@ export default {
workersPlaygroundButton(),
outputCodeblocks(),
defaultLanguageTitles(),
pluginCollapsibleSections(),
],
themes: [darkTheme, lightTheme],
styleOverrides: {
Expand Down
47 changes: 0 additions & 47 deletions functions/api/[[path]].ts

This file was deleted.

22 changes: 0 additions & 22 deletions functions/api/redirects.ts

This file was deleted.

Loading

0 comments on commit cdffd39

Please sign in to comment.