From 069d3448c2d3ff31718dae8517b449755de0ff36 Mon Sep 17 00:00:00 2001 From: serg Date: Tue, 16 Jun 2026 10:31:15 +0300 Subject: [PATCH 1/5] define list of links on full version of product docs in the root llms file Signed-off-by: serg --- layouts/_default/home.llmstxt.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/layouts/_default/home.llmstxt.txt b/layouts/_default/home.llmstxt.txt index 2f24f2e2d..85314bf7a 100644 --- a/layouts/_default/home.llmstxt.txt +++ b/layouts/_default/home.llmstxt.txt @@ -27,3 +27,26 @@ {{- end -}} {{- end -}} {{- end }} + +## Full version of docs per product +{{ range (sort hugo.Data.products ".weight") }} +{{- $key := urlize .name -}} +{{- $values := . -}} +{{- $url := "" -}} +{{- if .versions -}} + {{- $url = (cond (gt (len .versions) 1) (index .versions 1) (index .versions 0)).release -}} +{{- end -}} +{{- $pagePath := cond (ne $url "") (printf "/%s/%s" $key $url) (printf "/%s" $key) -}} +{{- with $.Site.GetPage $pagePath -}} + {{- if not (partial "llms/is-excluded.txt" .) -}} + {{- $llmsURL := "" -}} + {{- with .OutputFormats.Get "LLMsFullTxt" -}} + {{- $llmsURL = .Permalink -}} + {{- end -}} + {{- if $llmsURL -}} + {{- $title := $values.title | default $values.name }} +- [{{ $title }}]({{ $llmsURL }}) +{{- end -}} +{{- end -}} +{{- end -}} +{{- end }} From f041a762dcbf7d0e763f20ca4f906d7d4cea99e6 Mon Sep 17 00:00:00 2001 From: serg Date: Tue, 30 Jun 2026 15:01:28 +0300 Subject: [PATCH 2/5] fix indices for products sorting Signed-off-by: serg --- data/products.yaml | 46 ++++++++++++++++++++++------------------------ 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/data/products.yaml b/data/products.yaml index 45101af91..03610d852 100644 --- a/data/products.yaml +++ b/data/products.yaml @@ -49,12 +49,27 @@ kubermatic: name: v2.13 - release: v2.12 name: v2.12 +kubermatic-virtualization: + name: kubermatic-virtualization + logo: "img/logo-kubermatic.svg" + title: Kubermatic-Virtualization + textName: Kubermatic Virtualization + description: Seamlessly modernize your infrastructure by building your private cloud entirely with Kubernetes. + weight: 2 + shareImage: img/share-kubermatic.png + versions: + - release: main + name: main + - release: v1.1.0 + name: v1.1.0 + - release: v1.0.0 + name: v1.0.0 kubeone: name: KubeOne logo: "/img/logo-kubeone.svg" title: KubeOne description: Automate operations of a single Kubernetes cluster on your chosen cloud, on-prem, or edge environment. - weight: 2 + weight: 3 shareImage: img/share-kubeone.png versions: - release: main @@ -91,7 +106,7 @@ kubelb: title: KubeLB textName: KubeLB description: KubeLB is a tool to centrally manage load balancers across multicloud and on-prem environments. - weight: 3 + weight: 4 shareImage: img/share-kubelb.png supportedReleases: 3 versions: @@ -112,7 +127,7 @@ developer-platform: logo: "/img/developer-platform/common/logo.svg" title: Kubermatic Developer Platform description: Provision and manage all services from a single centralized catalog - powered by Kubernetes-style APIs. - weight: 4 + weight: 5 shareImage: img/share-developer-platform.png versions: - release: v0.9.0 @@ -123,42 +138,25 @@ operatingsystemmanager: title: Operating System Manager textName: Operating System Manager description: Operating System Manager is responsible for creating and managing the required configurations for worker nodes in a Kubernetes cluster. - weight: 5 + weight: 6 shareImage: img/share-operatingsystemmanager.png machine-controller: name: machine-controller title: Machine Controller textName: Machine Controller description: Manage machines at cloud providers using a declarative Kubernetes API, compatible with the Kubernetes cluster-autoscaler. - weight: 6 + weight: 7 shareImage: img/share-machine-controller.png versions: - release: main name: main -kubermatic-virtualization: - name: kubermatic-virtualization - logo: "img/logo-kubermatic.svg" - title: Kubermatic-Virtualization - textName: Kubermatic Virtualization - description: Seamlessly modernize your infrastructure by building your private cloud entirely with Kubernetes. - weight: 1 - shareImage: img/share-kubermatic.png - versions: - - release: main - name: main - - release: v1.2.0 - name: v1.2.0 - - release: v1.1.0 - name: v1.1.0 - - release: v1.0.0 - name: v1.0.0 conformance-ee: name: conformance-ee logo: "img/logo-kubermatic.svg" title: Conformance EE textName: Conformance EE description: Automated end-to-end conformance test framework for Kubermatic Kubernetes Platform, generating and running thousands of test scenarios across cloud providers. - weight: 7 + weight: 8 shareImage: img/share-kubermatic.png versions: - release: main @@ -169,7 +167,7 @@ conformance-ee: # logo: "/img/developer-platform/common/logo.png" # title: Kubermatic Developer Platform # description: -# weight: 6 +# weight: 9 # shareImage: img/share-developer-platform.png # SecureGuard is still in development - do not yet reveal to the public. # The content tree exists under content/secureguard/ and is reachable via direct From 15a3c818d0dcd410dc4d70e9569b6bbfcbcd2029 Mon Sep 17 00:00:00 2001 From: serg Date: Tue, 30 Jun 2026 15:04:34 +0300 Subject: [PATCH 3/5] tweak product links in home/llms.txt Signed-off-by: serg --- layouts/_default/home.llmstxt.txt | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/layouts/_default/home.llmstxt.txt b/layouts/_default/home.llmstxt.txt index 85314bf7a..3182749c7 100644 --- a/layouts/_default/home.llmstxt.txt +++ b/layouts/_default/home.llmstxt.txt @@ -1,12 +1,13 @@ +{{- $products := sort hugo.Data.products ".weight" -}} # {{ .Site.Title }} > {{ .Site.Params.description }} > Last updated: {{ now.Format "2006-01-02" }} -> Products: {{ len (where (sort hugo.Data.products ".weight") "name" "!=" "") }} +> Products: {{ len (where $products "name" "!=" "") }} ## Products -{{ range (sort hugo.Data.products ".weight") }} +{{ range $products }} {{- $key := urlize .name -}} {{- $values := . -}} {{- $url := "" -}} @@ -28,8 +29,8 @@ {{- end -}} {{- end }} -## Full version of docs per product -{{ range (sort hugo.Data.products ".weight") }} +## Full and current documentation for each product +{{ range $products }} {{- $key := urlize .name -}} {{- $values := . -}} {{- $url := "" -}} @@ -44,7 +45,13 @@ {{- $llmsURL = .Permalink -}} {{- end -}} {{- if $llmsURL -}} - {{- $title := $values.title | default $values.name }} + {{- $title := $values.title | default $values.name -}} + {{- $versionParts := split $url "." -}} + {{- if and $versionParts (index $versionParts 0) -}} + {{- if hasPrefix (index $versionParts 0) "v" -}} + {{- $llmsURL = replaceRE (printf `\/%s\/` $url) "/latest/" $llmsURL -}} + {{- end -}} + {{- end }} - [{{ $title }}]({{ $llmsURL }}) {{- end -}} {{- end -}} From c630ed85de28ef685153662d90ef11a6f2a06744 Mon Sep 17 00:00:00 2001 From: serg Date: Tue, 30 Jun 2026 15:15:42 +0300 Subject: [PATCH 4/5] remove titles for links on full documentation Signed-off-by: serg --- layouts/_default/home.llmstxt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/home.llmstxt.txt b/layouts/_default/home.llmstxt.txt index 3182749c7..8424c8351 100644 --- a/layouts/_default/home.llmstxt.txt +++ b/layouts/_default/home.llmstxt.txt @@ -52,7 +52,7 @@ {{- $llmsURL = replaceRE (printf `\/%s\/` $url) "/latest/" $llmsURL -}} {{- end -}} {{- end }} -- [{{ $title }}]({{ $llmsURL }}) +- {{ $llmsURL }} {{- end -}} {{- end -}} {{- end -}} From 18b0e841f960ca6747b8286bb18586932c24195a Mon Sep 17 00:00:00 2001 From: serg Date: Fri, 3 Jul 2026 11:42:24 +0300 Subject: [PATCH 5/5] define index for the future Signed-off-by: serg --- data/products.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/products.yaml b/data/products.yaml index 03610d852..1aa5329e5 100644 --- a/data/products.yaml +++ b/data/products.yaml @@ -177,7 +177,7 @@ conformance-ee: # title: SecureGuard # textName: SecureGuard # description: -# weight: 8 +# weight: 10 # versions: # - release: main # name: main