From 877472c74bc8aebacc5a7ace17555fa59d7cc06d Mon Sep 17 00:00:00 2001 From: Simon Castagna Date: Thu, 12 Nov 2026 13:10:33 +0100 Subject: [PATCH] docs: add a guide for writing product updates The Kosli app now shows the entries of the product updates page in its What's new menu, and an entry's id, rss fields and tags decide how it shows there and to which organizations. Nothing told a writer that, so a changed id would make an entry unread for everyone again, and a mistyped tag would show a flag-gated entry to every organization. The guide lives in docs/, which is not published, and is linked from the page's template comment, the README and CLAUDE.md. It names the server file that maps tags to flags rather than the flag keys, as the repo is public. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 1 + README.md | 2 +- changelog/product-updates.mdx | 4 +- docs/writing-product-updates.md | 107 ++++++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+), 2 deletions(-) create mode 100644 docs/writing-product-updates.md diff --git a/CLAUDE.md b/CLAUDE.md index 646fdec..40faeac 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -230,6 +230,7 @@ When available, prefer skills over ad-hoc approaches: ``` Always prompt the user for the `tags` value (e.g., `"Terraform Provider"`, `"CLI"`) before generating an entry. +- **Product updates** (`changelog/product-updates.mdx`) — a separate page whose RSS feed the Kosli app shows in its What's new menu. Follow `docs/writing-product-updates.md`: keep each `id` unchanged once published, and use only the tags it lists to limit an entry to some organizations. ## Deployment diff --git a/README.md b/README.md index a48f3f0..6c2c75b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ mint update # Update the mint CLI tool - **`config/`** — Split config: `navigation.json` (page routing — every new page must be added here), `redirects.json`, `footer.json`. - **Content directories** — `understand_kosli/`, `getting_started/`, `administration/`, `user/`, `integrations/`, `tutorials/`, `implementation_guide/`, `labs/`, `troubleshooting/`, `faq/`, and the reference directories `client_reference/`, `helm/`, `policy-reference/`, `terraform-reference/`, `template-reference/`, `github-action-reference/`. Directory names don't decide where a page appears; `config/navigation.json` does. - **`snippets/`** — Reusable MDX fragments (only for content used in 2+ pages) -- **`changelog/`** — Product changelog +- **`changelog/`** — Product changelog. `changelog/product-updates.mdx` also feeds the What's new menu in the Kosli app: see [Writing a product update](/docs/writing-product-updates.md) before adding an entry. See [`CLAUDE.md`](CLAUDE.md) for full authoring conventions. diff --git a/changelog/product-updates.mdx b/changelog/product-updates.mdx index e37dd30..1c71915 100644 --- a/changelog/product-updates.mdx +++ b/changelog/product-updates.mdx @@ -8,7 +8,9 @@ hidden: true