Skip to content

Commit ebfe5d0

Browse files
Merge branch 'production' into patricia/pcx17012-challenges
2 parents 3337c60 + 08266e6 commit ebfe5d0

File tree

440 files changed

+11357
-8308
lines changed

Some content is hidden

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

440 files changed

+11357
-8308
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ contact_links:
66
- name: Issue with Cloudflare 5XX errors
77
url: https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/
88
about: If you are encountering a Cloudflare 5XX error, please read our troubleshooting documentation for 5XX errors.
9+
- name: Issue with Workers AI
10+
url: https://discord.com/channels/595317990191398933/1105477009964027914
11+
about: Issues relating to Workers AI models should be raised in our Developer Discord.
912
- name: Issue with Cloudflare Workers
1013
url: https://github.com/cloudflare/workers-sdk/issues/new/choose
1114
about: Issues relating to Cloudflare Workers should be made in the workers-sdk repo.

astro.config.ts

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { defineConfig } from "astro/config";
22
import starlight from "@astrojs/starlight";
3-
import tailwind from "@astrojs/tailwind";
43
import starlightDocSearch from "@astrojs/starlight-docsearch";
54
import starlightImageZoom from "starlight-image-zoom";
65
import liveCode from "astro-live-code";
@@ -45,7 +44,8 @@ async function autogenStyles() {
4544
})
4645
)
4746
.filter((x) => x.isFile())
48-
.map((x) => x.parentPath + x.name);
47+
.map((x) => x.parentPath + x.name)
48+
.sort((a) => (a === "./src/styles/tailwind.css" ? -1 : 1));
4949

5050
return styles;
5151
}
@@ -90,11 +90,19 @@ export default defineConfig({
9090
src: "./src/assets/logo.svg",
9191
},
9292
favicon: "/favicon.png",
93-
social: {
94-
github: "https://github.com/cloudflare/cloudflare-docs",
95-
"x.com": "https://x.com/cloudflare",
96-
youtube: "https://www.youtube.com/cloudflare",
97-
},
93+
social: [
94+
{
95+
label: "GitHub",
96+
icon: "github",
97+
href: "https://github.com/cloudflare/cloudflare-docs",
98+
},
99+
{ label: "X.com", icon: "x.com", href: "https://x.com/cloudflare" },
100+
{
101+
label: "YouTube",
102+
icon: "youtube",
103+
href: "https://www.youtube.com/cloudflare",
104+
},
105+
],
98106
editLink: {
99107
baseUrl:
100108
"https://github.com/cloudflare/cloudflare-docs/edit/production/",
@@ -143,9 +151,9 @@ export default defineConfig({
143151
starlightImageZoom(),
144152
],
145153
lastUpdated: true,
146-
}),
147-
tailwind({
148-
applyBaseStyles: false,
154+
markdown: {
155+
headingLinks: false,
156+
},
149157
}),
150158
liveCode({}),
151159
icon(),

bin/post-preview-url-comment/index.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ async function run(): Promise<void> {
2121
const ctx = github.context;
2222
const branch = ctx.ref.replace("refs/heads/", "");
2323

24+
const previewUrl = {
25+
branch: `https://${branchToSubdomain(branch)}.preview.developers.cloudflare.com`,
26+
commit: `https://${ctx.sha.slice(0, 8)}.preview.developers.cloudflare.com`,
27+
};
28+
29+
core.info(
30+
`Commit URL: ${previewUrl.commit}\nBranch URL: ${previewUrl.branch}`,
31+
);
32+
2433
core.info(`Finding pull requests for ${ctx.ref}`);
2534

2635
const { data: pulls } = await octokit.rest.pulls.list({
@@ -63,15 +72,6 @@ async function run(): Promise<void> {
6372
core.info(`No existing comment found`);
6473
}
6574

66-
const previewUrl = {
67-
branch: `https://${branchToSubdomain(branch)}.preview.developers.cloudflare.com`,
68-
commit: `https://${ctx.sha.slice(0, 8)}.preview.developers.cloudflare.com`,
69-
};
70-
71-
core.info(
72-
`Commit URL: ${previewUrl.commit}\nBranch URL: ${previewUrl.branch}`,
73-
);
74-
7575
const changedFiles = files
7676
.filter(
7777
(file) =>

0 commit comments

Comments
 (0)