From 0367429f26ce63c574ffb8abda87ab50e0b319fe Mon Sep 17 00:00:00 2001 From: Krishan Kant Sharma Date: Mon, 6 Jul 2026 16:56:30 -0500 Subject: [PATCH] docs: rename CLI to Node CLI, move Go CLI next to it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bare "CLI" label implicitly meant "the JS one" while "Go CLI" was explicitly labeled — an asymmetry that made the unlabeled group ambiguous now that there are two languages. Renamed to "Node CLI" for parity. Also moved the "Go CLI" group from after Integrations (buried behind 6 JS-specific groups) to right after "Start Here", so the two language tracks sit adjacent instead of a Go visitor having to scroll past Concepts/Tutorials/Guides/Reference/Integrations to find it. Left Concepts/Tutorials/Guides/Reference/Integrations unlabeled/generic — they're still JS-only in practice, but Go's docs are intentionally more compact right now (one bundled "Go CLI" group matching its current 3-command scope), not because it needs parallel "Node Tutorials"/"Node Guides" groups yet. Forcing full symmetry there would overstate how much Go documentation actually exists today. Signed-off-by: Krishan Kant Sharma --- astro.config.mjs | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 0a43ba5..275e240 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -50,7 +50,22 @@ export default defineConfig({ ], }, { - label: "CLI", + label: "Go CLI", + collapsed: true, + items: [ + { label: "Overview", slug: "docs/go" }, + { label: "Quickstart", slug: "docs/go/quickstart" }, + { label: "scan", slug: "docs/go/cli/scan" }, + { label: "audit", slug: "docs/go/cli/audit" }, + { label: "validate", slug: "docs/go/cli/validate" }, + { label: "Identity Model", slug: "docs/go/concepts/identity-model" }, + { label: "Enforce in CI", slug: "docs/go/guides/enforce-in-ci" }, + { label: "Supported Scope", slug: "docs/go/reference/supported-scope" }, + { label: "Limitations", slug: "docs/go/reference/limitations" }, + ], + }, + { + label: "Node CLI", collapsed: true, items: [ { label: "init", slug: "docs/cli/init" }, @@ -116,21 +131,6 @@ export default defineConfig({ { label: "OpenTelemetry", slug: "docs/integrations/opentelemetry" }, ], }, - { - label: "Go CLI", - collapsed: true, - items: [ - { label: "Overview", slug: "docs/go" }, - { label: "Quickstart", slug: "docs/go/quickstart" }, - { label: "scan", slug: "docs/go/cli/scan" }, - { label: "audit", slug: "docs/go/cli/audit" }, - { label: "validate", slug: "docs/go/cli/validate" }, - { label: "Identity Model", slug: "docs/go/concepts/identity-model" }, - { label: "Enforce in CI", slug: "docs/go/guides/enforce-in-ci" }, - { label: "Supported Scope", slug: "docs/go/reference/supported-scope" }, - { label: "Limitations", slug: "docs/go/reference/limitations" }, - ], - }, { label: "Trust", collapsed: true,