From e3405d2b90d7c837feb3f8db0baf8d69fd5e105c Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Mon, 12 Oct 2026 21:06:28 +0100 Subject: [PATCH] docs: llms.txt, llms-full.txt and .md routes Signed-off-by: oppiliappan --- docs/astro.config.mjs | 22 ++- docs/package-lock.json | 205 +++++++++++++++++++++++++++- docs/package.json | 11 +- docs/pnpm-lock.yaml | 140 ++++++++++++++++++- docs/src/components/PageTitle.astro | 5 + nix/pkgs/docs.nix | 2 +- 6 files changed, 378 insertions(+), 7 deletions(-) create mode 100644 docs/src/components/PageTitle.astro diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index e1a9291b7..b49b267b2 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -2,6 +2,7 @@ import { fileURLToPath } from "node:url"; import { defineConfig } from "astro/config"; import starlight from "@astrojs/starlight"; +import starlightLlmActions from "starlight-llm-actions"; import svelte from "@astrojs/svelte"; import tailwindcss from "@tailwindcss/vite"; import Icons from "unplugin-icons/vite"; @@ -10,6 +11,17 @@ import Icons from "unplugin-icons/vite"; // source rather than published as a package const webLib = fileURLToPath(new URL("../web/src/lib", import.meta.url)); +const svelteStyleFallback = { + name: "svelte-style-fallback", + enforce: "pre", + transform(code, id) { + if (!id.includes("svelte&type=style&lang.css")) return; + if (!code.includes("]*>([\s\S]*?)<\/style>/i); + return { code: match ? match[1] : "", map: null }; + }, +}; + export default defineConfig({ site: "https://docs.tangled.org", integrations: [ @@ -17,6 +29,13 @@ export default defineConfig({ title: "Tangled Docs", titleDelimiter: "·", disable404Route: true, + plugins: [ + starlightLlmActions({ + renderMarkdown: "simple", + linkAlternate: true, + llmsTxt: { exclude: ["index"] }, + }), + ], description: "Documentation for Tangled — decentralized code collaboration built on the AT Protocol.", favicon: "/favicon.svg", @@ -45,6 +64,7 @@ export default defineConfig({ Hero: "./src/components/Hero.astro", MarkdownContent: "./src/components/MarkdownContent.astro", MobileMenuFooter: "./src/components/MobileMenuFooter.astro", + PageTitle: "./src/components/PageTitle.astro", Sidebar: "./src/components/Sidebar.astro", ThemeSelect: "./src/components/ThemeToggle.astro", }, @@ -176,7 +196,7 @@ export default defineConfig({ svelte(), ], vite: { - plugins: [tailwindcss(), Icons({ compiler: "svelte" })], + plugins: [svelteStyleFallback, tailwindcss(), Icons({ compiler: "svelte" })], resolve: { // same aliases the web app's components import through alias: { diff --git a/docs/package-lock.json b/docs/package-lock.json index 574b822a6..4be8eca75 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -8,16 +8,25 @@ "name": "tangled-docs", "version": "0.0.1", "dependencies": { + "@astrojs/mdx": "^4.3.14", "@astrojs/starlight": "^0.36.0", "@astrojs/starlight-tailwind": "^4.0.2", "@astrojs/svelte": "^7.2.5", "@tailwindcss/vite": "^4.3.3", "astro": "^5.14.0", + "hast-util-select": "^6.0.4", + "rehype-parse": "^9.0.1", + "rehype-remark": "^10.0.1", + "remark-gfm": "^4.0.1", + "remark-stringify": "^11.0.0", "sharp": "^0.34.0", + "starlight-llm-actions": "0.13.0", "svelte": "^5.57.2", "tailwind-merge": "^3.7.0", "tailwind-variants": "^3.3.1", - "tailwindcss": "^4.3.3" + "tailwindcss": "^4.3.3", + "unified": "^11.0.5", + "unist-util-remove": "^4.0.0" }, "devDependencies": { "@iconify-json/lucide": "^1.2.140", @@ -2241,6 +2250,66 @@ "node": ">=14.0.0" } }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": { + "version": "1.11.1", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.2", + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": { + "version": "1.11.1", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": { + "version": "1.2.2", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { + "version": "1.1.4", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1", + "@emnapi/runtime": "^1.7.1" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": { + "version": "0.10.2", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": { + "version": "2.8.1", + "inBundle": true, + "license": "0BSD", + "optional": true + }, "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz", @@ -3903,6 +3972,32 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/hast-util-to-mdast": { + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/hast-util-to-mdast/-/hast-util-to-mdast-10.1.2.tgz", + "integrity": "sha512-FiCRI7NmOvM4y+f5w32jPRzcxDIz+PUqDwEqn1A+1q2cdp3B8Gx7aVrXORdOKjMNDQsD1ogOr896+0jJHW1EFQ==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "hast-util-phrasing": "^3.0.0", + "hast-util-to-html": "^9.0.0", + "hast-util-to-text": "^4.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "mdast-util-to-string": "^4.0.0", + "rehype-minify-whitespace": "^6.0.0", + "trim-trailing-lines": "^2.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/hast-util-to-parse5": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-8.0.1.tgz", @@ -6240,6 +6335,20 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/rehype-minify-whitespace": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/rehype-minify-whitespace/-/rehype-minify-whitespace-6.0.2.tgz", + "integrity": "sha512-Zk0pyQ06A3Lyxhe9vGtOtzz3Z0+qZ5+7icZ/PL/2x1SHPbKao5oB/g/rlc6BCTajqBb33JcOe71Ye1oFsuYbnw==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-minify-whitespace": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/rehype-parse": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/rehype-parse/-/rehype-parse-9.0.1.tgz", @@ -6285,6 +6394,23 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/rehype-remark": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/rehype-remark/-/rehype-remark-10.0.1.tgz", + "integrity": "sha512-EmDndlb5NVwXGfUa4c9GPK+lXeItTilLhE6ADSaQuHr4JUlKw9MidzGzx4HpqZrNCt6vnHmEifXQiiA+CEnjYQ==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "hast-util-to-mdast": "^10.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/rehype-stringify": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/rehype-stringify/-/rehype-stringify-10.0.1.tgz", @@ -6668,6 +6794,58 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/starlight-llm-actions": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/starlight-llm-actions/-/starlight-llm-actions-0.13.0.tgz", + "integrity": "sha512-U2Aw6iegQr9i6uQ4bteMcwcUtZ0qKgZOUA0vm3td1OL/Es0StC+ixB2yNkFswl9cXNDX1CElgx+YsivENePzGw==", + "license": "MIT", + "dependencies": { + "picomatch": "^4", + "zod": "^4.4.3" + }, + "engines": { + "node": "^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "@astrojs/mdx": ">=4.0.0", + "@astrojs/starlight": ">=0.36.0", + "astro": ">=5.6.0", + "hast-util-select": ">=6.0.0", + "rehype-parse": ">=9.0.0", + "rehype-remark": ">=10.0.0", + "remark-gfm": ">=4.0.0", + "remark-stringify": ">=11.0.0", + "unified": ">=11.0.0", + "unist-util-remove": ">=4.0.0", + "vite": ">=5.0.0" + }, + "peerDependenciesMeta": { + "@astrojs/mdx": { + "optional": true + }, + "hast-util-select": { + "optional": true + }, + "rehype-parse": { + "optional": true + }, + "rehype-remark": { + "optional": true + }, + "remark-gfm": { + "optional": true + }, + "remark-stringify": { + "optional": true + }, + "unified": { + "optional": true + }, + "unist-util-remove": { + "optional": true + } + } + }, "node_modules/stream-replace-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/stream-replace-string/-/stream-replace-string-2.0.0.tgz", @@ -6904,6 +7082,16 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/trim-trailing-lines": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-2.1.0.tgz", + "integrity": "sha512-5UR5Biq4VlVOtzqkm2AZlgvSlDJtME46uV0br0gENbwN4l5+mMKT4b9gJKqWtuL2zAIqajGJGuvbCbcAJUZqBg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/trough": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", @@ -7088,6 +7276,21 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/unist-util-remove": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-4.0.0.tgz", + "integrity": "sha512-b4gokeGId57UVRX/eVKej5gXqGlc9+trkORhFJpu9raqZkZhU0zm8Doi05+HaiBsMEIJowL+2WtQ5ItjsngPXg==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/unist-util-remove-position": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", diff --git a/docs/package.json b/docs/package.json index 0940aa47f..cc01790ec 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,16 +9,25 @@ "preview": "astro preview" }, "dependencies": { + "@astrojs/mdx": "^4.3.14", "@astrojs/starlight": "^0.36.0", "@astrojs/starlight-tailwind": "^4.0.2", "@astrojs/svelte": "^7.2.5", "@tailwindcss/vite": "^4.3.3", "astro": "^5.14.0", + "hast-util-select": "^6.0.4", + "rehype-parse": "^9.0.1", + "rehype-remark": "^10.0.1", + "remark-gfm": "^4.0.1", + "remark-stringify": "^11.0.0", "sharp": "^0.34.0", + "starlight-llm-actions": "0.13.0", "svelte": "^5.57.2", "tailwind-merge": "^3.7.0", "tailwind-variants": "^3.3.1", - "tailwindcss": "^4.3.3" + "tailwindcss": "^4.3.3", + "unified": "^11.0.5", + "unist-util-remove": "^4.0.0" }, "devDependencies": { "@iconify-json/lucide": "^1.2.140", diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml index 43012ecaa..f939f0306 100644 --- a/docs/pnpm-lock.yaml +++ b/docs/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: dependencies: + '@astrojs/mdx': + specifier: ^4.3.14 + version: 4.3.14(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3)) '@astrojs/starlight': specifier: ^0.36.0 version: 0.36.3(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3)) @@ -23,9 +26,27 @@ importers: astro: specifier: ^5.14.0 version: 5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3) + hast-util-select: + specifier: ^6.0.4 + version: 6.0.4 + rehype-parse: + specifier: ^9.0.1 + version: 9.0.1 + rehype-remark: + specifier: ^10.0.1 + version: 10.0.1 + remark-gfm: + specifier: ^4.0.1 + version: 4.0.1 + remark-stringify: + specifier: ^11.0.0 + version: 11.0.0 sharp: specifier: ^0.34.0 version: 0.34.5 + starlight-llm-actions: + specifier: 0.13.0 + version: 0.13.0(@astrojs/mdx@4.3.14(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3)))(@astrojs/starlight@0.36.3(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3)))(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3))(hast-util-select@6.0.4)(rehype-parse@9.0.1)(rehype-remark@10.0.1)(remark-gfm@4.0.1)(remark-stringify@11.0.0)(unified@11.0.5)(unist-util-remove@4.0.0)(vite@6.4.3(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)) svelte: specifier: ^5.57.2 version: 5.57.2 @@ -38,6 +59,12 @@ importers: tailwindcss: specifier: ^4.3.3 version: 4.3.3 + unified: + specifier: ^11.0.5 + version: 11.0.5 + unist-util-remove: + specifier: ^4.0.0 + version: 4.0.0 devDependencies: '@iconify-json/lucide': specifier: ^1.2.140 @@ -1437,6 +1464,9 @@ packages: hast-util-to-jsx-runtime@2.3.6: resolution: {integrity: sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==} + hast-util-to-mdast@10.1.2: + resolution: {integrity: sha512-FiCRI7NmOvM4y+f5w32jPRzcxDIz+PUqDwEqn1A+1q2cdp3B8Gx7aVrXORdOKjMNDQsD1ogOr896+0jJHW1EFQ==} + hast-util-to-parse5@8.0.1: resolution: {integrity: sha512-MlWT6Pjt4CG9lFCjiz4BH7l9wmrMkfkJYCxFwKQic8+RTZgWPuWxwAfjJElsXkex7DJjfSJsQIt931ilUgmwdA==} @@ -1972,6 +2002,9 @@ packages: rehype-format@5.0.1: resolution: {integrity: sha512-zvmVru9uB0josBVpr946OR8ui7nJEdzZobwLOOqHb/OOD88W0Vk2SqLwoVOj0fM6IPCCO6TaV9CvQvJMWwukFQ==} + rehype-minify-whitespace@6.0.2: + resolution: {integrity: sha512-Zk0pyQ06A3Lyxhe9vGtOtzz3Z0+qZ5+7icZ/PL/2x1SHPbKao5oB/g/rlc6BCTajqBb33JcOe71Ye1oFsuYbnw==} + rehype-parse@9.0.1: resolution: {integrity: sha512-ksCzCD0Fgfh7trPDxr2rSylbwq9iYDkSn8TCDmEJ49ljEUBxDVCzCHv7QNzZOfODanX4+bWQ4WZqLCRWYLfhag==} @@ -1981,6 +2014,9 @@ packages: rehype-recma@1.0.0: resolution: {integrity: sha512-lqA4rGUf1JmacCNWWZx0Wv1dHqMwxzsDWYMTowuplHF3xH0N/MmrZ/G3BDZnzAkRmxDadujCjaKM2hqYdCBOGw==} + rehype-remark@10.0.1: + resolution: {integrity: sha512-EmDndlb5NVwXGfUa4c9GPK+lXeItTilLhE6ADSaQuHr4JUlKw9MidzGzx4HpqZrNCt6vnHmEifXQiiA+CEnjYQ==} + rehype-stringify@10.0.1: resolution: {integrity: sha512-k9ecfXHmIPuFVI61B9DeLPN0qFHfawM6RsuX48hoqlaKSF61RskNjSm1lI8PhBEM0MRdLxVVm4WmTqJQccH9mA==} @@ -2068,6 +2104,39 @@ packages: space-separated-tokens@2.0.2: resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} + starlight-llm-actions@0.13.0: + resolution: {integrity: sha512-U2Aw6iegQr9i6uQ4bteMcwcUtZ0qKgZOUA0vm3td1OL/Es0StC+ixB2yNkFswl9cXNDX1CElgx+YsivENePzGw==} + engines: {node: ^22.0.0 || >=24.0.0} + peerDependencies: + '@astrojs/mdx': '>=4.0.0' + '@astrojs/starlight': '>=0.36.0' + astro: '>=5.6.0' + hast-util-select: '>=6.0.0' + rehype-parse: '>=9.0.0' + rehype-remark: '>=10.0.0' + remark-gfm: '>=4.0.0' + remark-stringify: '>=11.0.0' + unified: '>=11.0.0' + unist-util-remove: '>=4.0.0' + vite: '>=5.0.0' + peerDependenciesMeta: + '@astrojs/mdx': + optional: true + hast-util-select: + optional: true + rehype-parse: + optional: true + rehype-remark: + optional: true + remark-gfm: + optional: true + remark-stringify: + optional: true + unified: + optional: true + unist-util-remove: + optional: true + stream-replace-string@2.0.0: resolution: {integrity: sha512-TlnjJ1C0QrmxRNrON00JvaFFlNh5TTG00APw23j74ET7gkQpTASi6/L2fuiav8pzK715HXtUeClpBTw2NPSn6w==} @@ -2151,6 +2220,9 @@ packages: trim-lines@3.0.1: resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} + trim-trailing-lines@2.1.0: + resolution: {integrity: sha512-5UR5Biq4VlVOtzqkm2AZlgvSlDJtME46uV0br0gENbwN4l5+mMKT4b9gJKqWtuL2zAIqajGJGuvbCbcAJUZqBg==} + trough@2.2.0: resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==} @@ -2213,6 +2285,9 @@ packages: unist-util-remove-position@5.0.0: resolution: {integrity: sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==} + unist-util-remove@4.0.0: + resolution: {integrity: sha512-b4gokeGId57UVRX/eVKej5gXqGlc9+trkORhFJpu9raqZkZhU0zm8Doi05+HaiBsMEIJowL+2WtQ5ItjsngPXg==} + unist-util-stringify-position@4.0.0: resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} @@ -3004,7 +3079,7 @@ snapshots: dependencies: '@types/estree': 1.0.9 estree-walker: 2.0.2 - picomatch: 4.0.5 + picomatch: 4.0.7 optionalDependencies: rollup: 4.62.4 @@ -3696,6 +3771,10 @@ snapshots: optionalDependencies: picomatch: 4.0.5 + fdir@6.5.0(picomatch@4.0.7): + optionalDependencies: + picomatch: 4.0.7 + flattie@1.1.1: {} fontace@0.4.1: @@ -3883,6 +3962,23 @@ snapshots: transitivePeerDependencies: - supports-color + hast-util-to-mdast@10.1.2: + dependencies: + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + '@ungap/structured-clone': 1.3.3 + hast-util-phrasing: 3.0.1 + hast-util-to-html: 9.0.5 + hast-util-to-text: 4.0.2 + hast-util-whitespace: 3.0.0 + mdast-util-phrasing: 4.1.0 + mdast-util-to-hast: 13.2.1 + mdast-util-to-string: 4.0.0 + rehype-minify-whitespace: 6.0.2 + trim-trailing-lines: 2.1.0 + unist-util-position: 5.0.0 + unist-util-visit: 5.1.0 + hast-util-to-parse5@8.0.1: dependencies: '@types/hast': 3.0.5 @@ -4707,6 +4803,11 @@ snapshots: '@types/hast': 3.0.5 hast-util-format: 1.1.0 + rehype-minify-whitespace@6.0.2: + dependencies: + '@types/hast': 3.0.5 + hast-util-minify-whitespace: 1.0.1 + rehype-parse@9.0.1: dependencies: '@types/hast': 3.0.5 @@ -4727,6 +4828,14 @@ snapshots: transitivePeerDependencies: - supports-color + rehype-remark@10.0.1: + dependencies: + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + hast-util-to-mdast: 10.1.2 + unified: 11.0.5 + vfile: 6.0.3 + rehype-stringify@10.0.1: dependencies: '@types/hast': 3.0.5 @@ -4919,6 +5028,23 @@ snapshots: space-separated-tokens@2.0.2: {} + starlight-llm-actions@0.13.0(@astrojs/mdx@4.3.14(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3)))(@astrojs/starlight@0.36.3(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3)))(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3))(hast-util-select@6.0.4)(rehype-parse@9.0.1)(rehype-remark@10.0.1)(remark-gfm@4.0.1)(remark-stringify@11.0.0)(unified@11.0.5)(unist-util-remove@4.0.0)(vite@6.4.3(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)): + dependencies: + '@astrojs/starlight': 0.36.3(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3)) + astro: 5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3) + picomatch: 4.0.7 + vite: 6.4.3(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0) + zod: 4.4.3 + optionalDependencies: + '@astrojs/mdx': 4.3.14(astro@5.18.2(@types/node@24.13.3)(jiti@2.7.0)(lightningcss@1.32.0)(rollup@4.62.4)(typescript@5.9.3)) + hast-util-select: 6.0.4 + rehype-parse: 9.0.1 + rehype-remark: 10.0.1 + remark-gfm: 4.0.1 + remark-stringify: 11.0.0 + unified: 11.0.5 + unist-util-remove: 4.0.0 + stream-replace-string@2.0.0: {} string-width@4.2.3: @@ -5010,11 +5136,13 @@ snapshots: tinyglobby@0.2.17: dependencies: - fdir: 6.5.0(picomatch@4.0.5) - picomatch: 4.0.5 + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 trim-lines@3.0.1: {} + trim-trailing-lines@2.1.0: {} + trough@2.2.0: {} tsconfck@3.1.6(typescript@5.9.3): @@ -5079,6 +5207,12 @@ snapshots: '@types/unist': 3.0.3 unist-util-visit: 5.1.0 + unist-util-remove@4.0.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.1 + unist-util-visit-parents: 6.0.2 + unist-util-stringify-position@4.0.0: dependencies: '@types/unist': 3.0.3 diff --git a/docs/src/components/PageTitle.astro b/docs/src/components/PageTitle.astro new file mode 100644 index 000000000..25d9347ef --- /dev/null +++ b/docs/src/components/PageTitle.astro @@ -0,0 +1,5 @@ +--- +import Default from "@astrojs/starlight/components/PageTitle.astro"; +--- + + diff --git a/nix/pkgs/docs.nix b/nix/pkgs/docs.nix index 21ff5c2f2..53018ae76 100644 --- a/nix/pkgs/docs.nix +++ b/nix/pkgs/docs.nix @@ -12,7 +12,7 @@ buildNpmPackage { inherit src; sourceRoot = "${src.name}/docs"; - npmDepsHash = "sha256-HMi2N2gcU4UOmU0taQdQRbdHqAlzYq54ff14ekoKqso="; + npmDepsHash = "sha256-R2yi4AMZc2LV7voo5VWWSOVG5agPCTAqi8oeShrKvSo="; env.ASTRO_TELEMETRY_DISABLED = "1"; -- 2.51.2