Skip to content

Commit e41dd9e

Browse files
Merge branch 'cloudflare:production' into production
2 parents 058ad38 + 7ec0b2a commit e41dd9e

File tree

133 files changed

+2145
-594
lines changed

Some content is hidden

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

133 files changed

+2145
-594
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
/src/content/changelog/ @cloudflare/pm-changelogs
4949
/src/assets/images/changelog/ @cloudflare/pm-changelogs
50+
/src/assets/images/ @cloudflare/pm-changelogs @cloudflare/pcx-technical-writing
5051

5152
# Cloudflare One
5253

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 = (

bin/fetch-warp-releases.js

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@ import fs from "fs";
22
import YAML from "yaml";
33
import { marked } from "marked";
44

5-
const tracks = ["windows/ga", "windows/beta", "macos/ga", "macos/beta"];
5+
const tracks = [
6+
"windows/ga",
7+
"windows/beta",
8+
"macos/ga",
9+
"macos/beta",
10+
"noble-intel/ga",
11+
"noble-intel/beta",
12+
];
613

714
const linesToRemove = [
815
"For related Cloudflare for Teams documentation please see: https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp",
@@ -11,11 +18,23 @@ const linesToRemove = [
1118
"For Consumer documentation please see: https://developers.cloudflare.com/warp-client/",
1219
];
1320

14-
for (const track of tracks) {
21+
for (let track of tracks) {
1522
fetch(`https://downloads.cloudflareclient.com/v1/update/json/${track}`)
1623
.then((res) => res.json())
1724
.then((data) => {
25+
if (!data.items) {
26+
console.warn(
27+
`${track} has no releases: ${JSON.stringify(data, null, 2)}`,
28+
);
29+
30+
return;
31+
}
32+
1833
data.items.forEach((item) => {
34+
if (track.startsWith("noble-intel")) {
35+
track = track.replace("noble-intel", "linux");
36+
}
37+
1938
const path = `./src/content/warp-releases/${track}/${item.version}.yaml`;
2039

2140
if (fs.existsSync(path)) {

package-lock.json

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

0 commit comments

Comments
 (0)