From 5be20912d83b0032077a231f592f6cf8168ea86d Mon Sep 17 00:00:00 2001 From: Myasnikov Daniil Date: Mon, 26 Oct 2026 13:23:29 +0500 Subject: [PATCH] fix(docs): use stable URLs in documentation entry points Keep evergreen entry points on the current docs when the latest minor changes, while keeping missing llms targets fatal at build time. Isolate the report cleanup test from real transcreation drift so home-page edits do not create an unrelated test failure. Also rename the dashboard line in llms.txt to "Self-service dashboard" and drop the public sovereign cloud example. Both lines came in without a human review, and nothing else on the site or in ADOPTERS.md names that product or that customer, so llms.txt pointed AI readers at things they could not find anywhere else. Assisted-By: LLM Signed-off-by: Myasnikov Daniil --- content/en/_index.md | 2 +- .../index.md | 6 +++--- hack/i18n/test_i18n.py | 9 +++++---- layouts/home.llms.txt | 12 ++++++------ 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/content/en/_index.md b/content/en/_index.md index 582f76157..dbe8b8b8a 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -112,7 +112,7 @@ features: The Web UI facilitates a quick dive into the platform and provides a visual demonstration of its capabilities. --- -{{< blocks/hero title="Cozystack: Free Cloud Platform based on Kubernetes" link_title="Get started" link_url="/docs/get-started/" >}} +{{< blocks/hero title="Cozystack: Free Cloud Platform based on Kubernetes" link_title="Get started" link_url="/docs/getting-started/" >}} Use Cozystack to build your own cloud or provide cost-effective development environments. {{< /blocks/hero >}} diff --git a/content/en/blog/2026-06-04-from-zero-to-kubectl-managed-kubernetes-on-your-own-metal/index.md b/content/en/blog/2026-06-04-from-zero-to-kubectl-managed-kubernetes-on-your-own-metal/index.md index 38affc8ec..8682b390e 100644 --- a/content/en/blog/2026-06-04-from-zero-to-kubectl-managed-kubernetes-on-your-own-metal/index.md +++ b/content/en/blog/2026-06-04-from-zero-to-kubectl-managed-kubernetes-on-your-own-metal/index.md @@ -113,9 +113,9 @@ Deploy your apps with standard `kubectl` or `helm` — no vendor-specific toolin ## Learn more -- [Managed Kubernetes documentation](https://cozystack.io/docs/v1.6/kubernetes/) -- [Deploy Applications guide](https://cozystack.io/docs/v1.6/getting-started/deploy-app/) -- [Create a Tenant](https://cozystack.io/docs/v1.6/getting-started/create-tenant/) +- [Managed Kubernetes documentation](https://cozystack.io/docs/kubernetes/) +- [Deploy Applications guide](https://cozystack.io/docs/getting-started/deploy-app/) +- [Create a Tenant](https://cozystack.io/docs/getting-started/create-tenant/) ## Join the community diff --git a/hack/i18n/test_i18n.py b/hack/i18n/test_i18n.py index 5f0102b74..503c08c33 100644 --- a/hack/i18n/test_i18n.py +++ b/hack/i18n/test_i18n.py @@ -783,13 +783,14 @@ def test_empty_worklist_clears_a_prior_run_report(self): # Once the backlog drains, build_worklist() is empty and main() returns # early. A report left by an earlier run must still be cleared, or # run-daily.sh reposts stale findings stamped with today's date. - orig_wl, orig_orph, orig_argv = ( - lib.build_worklist, lib.find_orphan_translations, sys.argv) + orig_wl, orig_orph, orig_tc, orig_argv = ( + lib.build_worklist, lib.find_orphan_translations, lib.find_transcreated, sys.argv) existed = os.path.exists(translate.REPORT_PATH) backup = open(translate.REPORT_PATH).read() if existed else None try: lib.build_worklist = lambda *a, **k: [] lib.find_orphan_translations = lambda *a, **k: [] + lib.find_transcreated = lambda *a, **k: [] sys.argv = ["translate.py"] with open(translate.REPORT_PATH, "w", encoding="utf-8") as fh: fh.write("### stale findings from a previous run\n- something\n") @@ -798,8 +799,8 @@ def test_empty_worklist_clears_a_prior_run_report(self): self.assertFalse(os.path.exists(translate.REPORT_PATH), "stale report was not cleared on an empty worklist") finally: - lib.build_worklist, lib.find_orphan_translations, sys.argv = ( - orig_wl, orig_orph, orig_argv) + (lib.build_worklist, lib.find_orphan_translations, + lib.find_transcreated, sys.argv) = (orig_wl, orig_orph, orig_tc, orig_argv) if backup is not None: with open(translate.REPORT_PATH, "w", encoding="utf-8") as fh: fh.write(backup) diff --git a/layouts/home.llms.txt b/layouts/home.llms.txt index a203817de..192fc9b3d 100644 --- a/layouts/home.llms.txt +++ b/layouts/home.llms.txt @@ -2,16 +2,16 @@ Served as /llms.txt. Only the English home page renders it: the llms output format is defined in hugo.yaml and enabled under languages.en.outputs there. - The versioned docs links follow params.latest_version_id, so promoting a new - release needs no edit here. The build fails if a linked page is missing from - the latest version, so a renamed page cannot leave a dead link behind. + Docs links use stable /docs/ URLs. Targets are resolved in + params.latest_version_id, and the build fails if a linked page is missing + from that version, so a renamed page cannot leave a dead link behind. */ -}} {{- $latest := site.Params.latest_version_id -}} {{- $docs := dict -}} {{- range $name, $path := dict "quickstart" "getting-started" "components" "guides/platform-stack" "architecture" "guides/concepts" -}} {{- $ref := printf "/docs/%s/%s" $latest $path -}} {{- with site.GetPage $ref -}} - {{- $docs = merge $docs (dict $name (printf "https://cozystack.io%s" .RelPermalink)) -}} + {{- $docs = merge $docs (dict $name (printf "https://cozystack.io%s" (replace .RelPermalink (printf "/docs/%s/" $latest) "/docs/" 1))) -}} {{- else -}} {{- errorf "llms.txt: %s does not exist; update the link in layouts/home.llms.txt" $ref -}} {{- end -}} @@ -27,7 +27,7 @@ Cozystack is a free and open-source platform for building managed services and p - Kubernetes-based control plane for VMs, containers, databases, and storage - Multi-tenant isolation via the Tenant Custom Resource Definition (CRD) - Built on Talos Linux, Kubernetes, KubeVirt, Cilium, LINSTOR -- Customer-facing portal (cozyportal) with white-label support +- Self-service dashboard with white-label support - Service catalog: VMs, managed PostgreSQL, MySQL, Redis, Kafka, ClickHouse, S3-compatible object storage, GPU workloads - VictoriaMetrics + VictoriaLogs for observability - Designed for service providers, regulated enterprises, and sovereign cloud builders @@ -76,7 +76,7 @@ See [CONTRIBUTING.md](https://github.com/cozystack/cozystack/blob/main/CONTRIBUT Cozystack is used in production for: -- Public sovereign cloud products (e.g., Beeline Kazakhstan Hyper Cloud, launched 2025-12-08) +- Public sovereign cloud products - Regulated enterprise multi-tenant clouds (financial services, public sector, telco) - Internal Developer Platforms with multi-tenant developer workflows - VMware migration / OpenStack modernization paths