diff --git a/.cigen/config.yml b/.cigen/config.yml index 0e77d29..7edd8ae 100644 --- a/.cigen/config.yml +++ b/.cigen/config.yml @@ -30,6 +30,7 @@ input_groups: - "docs/src/content/docs/**/*.md" - "docs/src/content/case-studies/**/*.md" - "docs/src/content/compare/**/*.md" + - "docs/src/content/blog/**/*.md" - "docs/src/examples/*.yml" docs: diff --git a/docs/README.md b/docs/README.md index 230cd3e..e7e6394 100644 --- a/docs/README.md +++ b/docs/README.md @@ -42,3 +42,6 @@ pnpm --dir docs build # writes docs/dist cigen fits better, when to pick which, and what cigen can't do yet. `checked` is the date its claims were last checked against the tool's docs: recheck them, and update the date, when you edit a page. Name other tools in plain text, without their logos. +- **Blog posts** are Markdown in `src/content/blog/`, served at `/blog//` and listed in `/rss.xml`. A post with + `draft: true` is built by the dev server only. Every claim must hold today (STATUS.md), and every number needs its + source or command. diff --git a/docs/package.json b/docs/package.json index cea1eea..8f30608 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,6 +11,7 @@ }, "dependencies": { "@astrojs/markdown-satteri": "0.4.10", + "@astrojs/rss": "4.0.20", "@astrojs/sitemap": "3.7.7", "@fontsource-variable/inter": "5.3.0", "@fontsource-variable/jetbrains-mono": "5.3.0", diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml index 804b76b..c7980d1 100644 --- a/docs/pnpm-lock.yaml +++ b/docs/pnpm-lock.yaml @@ -10,6 +10,9 @@ importers: "@astrojs/markdown-satteri": specifier: 0.4.10 version: 0.4.10 + "@astrojs/rss": + specifier: 4.0.20 + version: 4.0.20 "@astrojs/sitemap": specifier: 3.7.7 version: 3.7.7 @@ -206,6 +209,12 @@ packages: } engines: { node: ">=22.23.4" } + "@astrojs/rss@4.0.20": + resolution: + { + integrity: sha512-sCVmRCW0JabcHFx0K7KI/FTik9RRDpJUimOtJgW1YC0A6sHCIk572PcUkadVlm50IRtu8zWSvZ8ik/4rvilyEg==, + } + "@astrojs/runtime@0.1.2": resolution: { @@ -786,6 +795,12 @@ packages: "@emnapi/core": ^1.7.1 || 2.0.0-beta.2 || 2.0.0-beta.3 "@emnapi/runtime": ^1.7.1 || 2.0.0-beta.2 || 2.0.0-beta.3 + "@nodable/entities@3.1.0": + resolution: + { + integrity: sha512-LsS/DjHr+uDM647Gru/cA8+J3a3HfhttwCKLyuoyN7yXTFCxKBtSgMQBvrW9yNPa2/zDRUNuGPaH5QUFoa4arQ==, + } + "@oslojs/encoding@1.1.0": resolution: { @@ -1468,6 +1483,12 @@ packages: } engines: { node: ">= 8" } + anynum@1.0.1: + resolution: + { + integrity: sha512-N6//FLET/tXYNM/F6ABca1oH6fWB+KlTt909Le28WMDBk8oaT4vY17DCrwg2MvmuqUKt3Ni4N5dGJ/EoBgcO6A==, + } + aria-query@5.3.2: resolution: { @@ -1830,6 +1851,19 @@ packages: integrity: sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==, } + fast-xml-builder@1.3.2: + resolution: + { + integrity: sha512-OX91VSlShLPDgRZV7tk/YQ4l8tT75QziF5Ixg8g4PFbCVPjuTWwN+yQfAxLJ0dufJpprdOd6HlM74Jhd39TcBQ==, + } + + fast-xml-parser@5.12.1: + resolution: + { + integrity: sha512-wR8dO/fx+z8C5exuem1e7BKOWvjsuzvjS/tvA/Xu3Z1zQqJGcXrPzXbcAiaMgp2KjreEROcTkmnnisrcmJ2hYQ==, + } + hasBin: true + fdir@6.5.0: resolution: { @@ -1979,6 +2013,12 @@ packages: } engines: { node: ">=12" } + is-unsafe@2.0.3: + resolution: + { + integrity: sha512-ZBllczCCO267vgdFb6Tq3pv+LhHaCiGMdr+ZsuL+OopruAg7S+3ZDs1vD0RPC0uSrkjzbraxaGjtX1YBxjPeFQ==, + } + json-schema-traverse@1.0.0: resolution: { @@ -2325,6 +2365,13 @@ packages: integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==, } + path-expression-matcher@1.6.2: + resolution: + { + integrity: sha512-enSlaiat05iasnzmgNxRj8reFdj3puY2QpNgP1aPIaVfT6nn9ICuPoFlKHk8EN22HcwewshO+mN2DGbkCEOtqQ==, + } + engines: { node: ">=14.0.0" } + piccolore@0.1.3: resolution: { @@ -2591,6 +2638,12 @@ packages: } engines: { node: ">=12" } + strnum@2.5.1: + resolution: + { + integrity: sha512-UM4nTLWzQiDBseVxUGxN0wJzIk0UU89Qi7pKXz9qISo+lhviJikTuikBsK/oFRlpvYHvSdz0TVoLyQ+sEpYwxA==, + } + svgo@4.1.0: resolution: { @@ -3065,6 +3118,13 @@ packages: } engines: { node: ">=18" } + xml-naming@0.3.1: + resolution: + { + integrity: sha512-EJ9yNAfjrIz2z7chbVlj4CD3HkPxXNPD6U6LzhKEfIFlRmEHtl7CN6C0qdPGL4hplTuj2wePPgIZN8aklE/2Og==, + } + engines: { node: ">=16.0.0" } + xxhash-wasm@1.1.0: resolution: { @@ -3249,6 +3309,12 @@ snapshots: dependencies: prismjs: 1.30.0 + "@astrojs/rss@4.0.20": + dependencies: + fast-xml-parser: 5.12.1 + piccolore: 0.1.3 + zod: 4.6.7 + "@astrojs/runtime@0.1.2": dependencies: "@oslojs/encoding": 1.1.0 @@ -3564,6 +3630,8 @@ snapshots: "@tybys/wasm-util": 0.10.5 optional: true + "@nodable/entities@3.1.0": {} + "@oslojs/encoding@1.1.0": {} "@oxc-project/types@0.156.0": {} @@ -3889,6 +3957,8 @@ snapshots: normalize-path: 3.0.0 picomatch: 2.3.2 + anynum@1.0.1: {} + aria-query@5.3.2: {} astro@7.4.13(@types/node@26.6.11)(yaml@2.9.1): @@ -4131,6 +4201,20 @@ snapshots: dependencies: fast-string-width: 3.0.2 + fast-xml-builder@1.3.2: + dependencies: + path-expression-matcher: 1.6.2 + xml-naming: 0.3.1 + + fast-xml-parser@5.12.1: + dependencies: + "@nodable/entities": 3.1.0 + fast-xml-builder: 1.3.2 + is-unsafe: 2.0.3 + path-expression-matcher: 1.6.2 + strnum: 2.5.1 + xml-naming: 0.3.1 + fdir@6.5.0(picomatch@4.0.7): optionalDependencies: picomatch: 4.0.7 @@ -4208,6 +4292,8 @@ snapshots: is-plain-obj@4.1.0: {} + is-unsafe@2.0.3: {} + json-schema-traverse@1.0.0: {} jsonc-parser@2.3.1: {} @@ -4375,6 +4461,8 @@ snapshots: path-browserify@1.0.1: {} + path-expression-matcher@1.6.2: {} + piccolore@0.1.3: {} picocolors@1.1.1: {} @@ -4591,6 +4679,10 @@ snapshots: dependencies: ansi-regex: 6.6.0 + strnum@2.5.1: + dependencies: + anynum: 1.0.1 + svgo@4.1.0: dependencies: commander: 11.1.0 @@ -4837,6 +4929,8 @@ snapshots: string-width: 7.2.0 strip-ansi: 7.2.0 + xml-naming@0.3.1: {} + xxhash-wasm@1.1.0: {} y18n@5.0.8: {} diff --git a/docs/src/components/Footer.astro b/docs/src/components/Footer.astro index 5878db9..7c8377a 100644 --- a/docs/src/components/Footer.astro +++ b/docs/src/components/Footer.astro @@ -12,6 +12,7 @@ import { href } from '../lib/docs';