From 8a6d697308162874a236c84aac0b0f8c7ac01f83 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 1 Sep 2026 14:48:45 +0300 Subject: refactor: separate website presentation from runtime --- docs/versions/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docs/versions') diff --git a/docs/versions/README.md b/docs/versions/README.md index 42ca1c69..502d1d43 100644 --- a/docs/versions/README.md +++ b/docs/versions/README.md @@ -4,14 +4,13 @@ This directory contains the published documentation for stable Herdr releases. Release CI creates each version from the tagged `docs/next` tree after the GitHub Release succeeds. Maintainers can correct published documentation in its version directory afterward. When a correction also applies to future releases, make the same focused change under `docs/next`; do not replace a published tree with the current draft. -Validate the manifest and build every published version with: +Validate every published version with: ```bash -node website/scripts/docs-versions.mjs check -cd website && bun run build +node scripts/docs/versions.mjs check ``` -`website/scripts/prepare-docs.mjs` renders each maintained version at `/docs//` and uses the version selected by `manifest.json` for `/docs/`. Generated files under `website/src/content/docs/` are not editable sources. `/docs/preview/` comes only from the active preview release snapshot in `docs/preview/`, never directly from `docs/next/`. +The private website renders each maintained version at `/docs//`, uses the version selected by `manifest.json` for `/docs/`, and renders the active preview snapshot at `/docs/preview/`. The source snapshots in this directory remain public release evidence; the private repository owns only their presentation. The `tag`, `commit`, and `source` fields in `manifest.json` record where release CI initially published a version. Git history records later documentation corrections. -- cgit v1.2.3