From 623afa4174e763987cc5f3bf00fb7a4359b3f96d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 04:15:32 +0000 Subject: [PATCH] chore: publish from main --- .github/workflows/build-website.yml | 21 +++--- website/astro.config.mjs | 14 +++- website/package-lock.json | 102 ++++++++++++---------------- website/package.json | 1 + 4 files changed, 67 insertions(+), 71 deletions(-) diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index 77080a3e..ba0a0f0d 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -4,14 +4,19 @@ on: pull_request: branches: [main] paths: - - website - - agents - - skills - - plugins - - instructions - - hooks - - workflows - - extensions + - "website/**" + - "agents/**" + - "skills/**" + - "plugins/**" + - "instructions/**" + - "hooks/**" + - "workflows/**" + - "extensions/**" + - "cookbook/**" + - "eng/**" + - ".all-contributorsrc" + - "package.json" + - "package-lock.json" permissions: contents: read diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 77f25a4d..b9d80718 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -1,3 +1,4 @@ +import { unified } from "@astrojs/markdown-remark"; import sitemap from "@astrojs/sitemap"; import starlight from "@astrojs/starlight"; import { defineConfig } from "astro/config"; @@ -34,9 +35,16 @@ export default defineConfig({ base: "/", output: "static", markdown: { - remarkPlugins: [ - [remarkGithubAdmonitionsToDirectives, { mapping: githubAdmonitionMapping }], - ], + // Astro 7.1+ uses Sätteri as the default Markdown processor, but its plugin + // API is incompatible with remark/rehype plugins. We explicitly opt into the + // unified() (remark/rehype) processor so we can keep using + // remark-github-admonitions-to-directives, which rewrites > [!NOTE] callouts + // from Learning Hub course content into Starlight aside directives. + processor: unified({ + remarkPlugins: [ + [remarkGithubAdmonitionsToDirectives, { mapping: githubAdmonitionMapping }], + ], + }), }, integrations: [ starlight({ diff --git a/website/package-lock.json b/website/package-lock.json index daab1888..b0ab63f2 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -9,6 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { + "@astrojs/markdown-remark": "^7.2.0", "@astrojs/sitemap": "^3.7.2", "@astrojs/starlight": "^0.41.1", "astro": "^7.1.3", @@ -135,9 +136,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -154,9 +152,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -173,9 +168,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -192,9 +184,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -280,6 +269,47 @@ "unified": "^11.0.5" } }, + "node_modules/@astrojs/markdown-remark": { + "version": "7.2.1", + "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@astrojs/markdown-remark/-/markdown-remark-7.2.1.tgz", + "integrity": "sha1-aqr0TwtErS/QUYN+btMULs0y5Mg=", + "license": "MIT", + "dependencies": { + "@astrojs/internal-helpers": "0.10.1", + "@astrojs/prism": "4.0.2", + "github-slugger": "^2.0.0", + "hast-util-from-html": "^2.0.3", + "hast-util-to-text": "^4.0.2", + "mdast-util-definitions": "^6.0.0", + "rehype-raw": "^7.0.0", + "rehype-stringify": "^10.0.1", + "remark-gfm": "^4.0.1", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.1.2", + "remark-smartypants": "^3.0.2", + "unified": "^11.0.5", + "unist-util-remove-position": "^5.0.0", + "unist-util-visit": "^5.1.0", + "unist-util-visit-parents": "^6.0.2", + "vfile": "^6.0.3" + } + }, + "node_modules/@astrojs/markdown-remark/node_modules/@astrojs/internal-helpers": { + "version": "0.10.1", + "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@astrojs/internal-helpers/-/internal-helpers-0.10.1.tgz", + "integrity": "sha1-P5a2TPc9ORmbGnCQneSIoAXFB3Y=", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.4", + "@types/mdast": "^4.0.4", + "js-yaml": "^4.1.1", + "picomatch": "^4.0.4", + "retext-smartypants": "^6.2.0", + "shiki": "^4.0.2", + "smol-toml": "^1.6.0", + "unified": "^11.0.5" + } + }, "node_modules/@astrojs/markdown-satteri": { "version": "0.3.4", "resolved": "https://registry.npmjs.org/@astrojs/markdown-satteri/-/markdown-satteri-0.3.4.tgz", @@ -1427,9 +1457,6 @@ "cpu": [ "arm" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -1446,9 +1473,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -1465,9 +1489,6 @@ "cpu": [ "ppc64" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -1484,9 +1505,6 @@ "cpu": [ "riscv64" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -1503,9 +1521,6 @@ "cpu": [ "s390x" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -1522,9 +1537,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -1541,9 +1553,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -1560,9 +1569,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -1579,9 +1585,6 @@ "cpu": [ "arm" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1604,9 +1607,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1629,9 +1629,6 @@ "cpu": [ "ppc64" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1654,9 +1651,6 @@ "cpu": [ "riscv64" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1679,9 +1673,6 @@ "cpu": [ "s390x" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1704,9 +1695,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1729,9 +1717,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1754,9 +1739,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "Apache-2.0", "optional": true, "os": [ diff --git a/website/package.json b/website/package.json index 81322eb6..cc178d95 100644 --- a/website/package.json +++ b/website/package.json @@ -19,6 +19,7 @@ "author": "GitHub", "license": "MIT", "dependencies": { + "@astrojs/markdown-remark": "^7.2.0", "@astrojs/sitemap": "^3.7.2", "@astrojs/starlight": "^0.41.1", "astro": "^7.1.3",