From f4477036b191e58da8b8db86c63c235a30172cbd Mon Sep 17 00:00:00 2001 From: Florent LB Date: Fri, 14 Aug 2026 16:58:49 +0200 Subject: [PATCH 1/3] Register the Elastic Stack logo as a hub product icon Reuse logo_elastic_stack.svg for the elastic-stack hero and link-card key so stack hub pages do not fall back to a letter chip. Co-authored-by: Cursor --- docs/syntax/hero.md | 2 +- docs/syntax/link-card.md | 2 +- src/Elastic.Markdown/Myst/Directives/Hub/ProductIcons.cs | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/syntax/hero.md b/docs/syntax/hero.md index 206693582..57fcca9e7 100644 --- a/docs/syntax/hero.md +++ b/docs/syntax/hero.md @@ -24,7 +24,7 @@ The `:title:` option doubles as the page title, so a hub page needs no body H1. |---|---|---| | `:title:` | string | **Required.** Renders as the page `

` next to the icon. Also used as the document title. | | `:description:` | inline markdown | One-line summary below the title. Supports bold, italics, and links. | -| `:icon:` | string | Product key. Resolves to an inline SVG. Known keys: `elasticsearch`, `kibana`, `observability`, `security`. An unknown key falls back to a single-letter chip. | +| `:icon:` | string | Product key. Resolves to an inline SVG. Known keys: `elasticsearch`, `kibana`, `logstash`, `observability`, `security`, `elastic-stack`. An unknown key falls back to a single-letter chip. | | `:primary-action:` | markdown link | First action. Format: `[Label](/url)` or `[Label](#anchor)`. | | `:secondary-action:` | markdown link | Second action. | | `:tertiary-action:` | markdown link | Third action. | diff --git a/docs/syntax/link-card.md b/docs/syntax/link-card.md index f9db9fb9c..55d019be0 100644 --- a/docs/syntax/link-card.md +++ b/docs/syntax/link-card.md @@ -41,7 +41,7 @@ sub-list, so every group of links reads the same way wherever it appears. `variant: es`, `obs`, or `sec` adds a left border in the matching solution colour. Use it for solution cards. -`icon` takes the same product keys as [`{hero}`](hero.md): `elasticsearch`, `kibana`, `observability`, `security`. +`icon` takes the same product keys as [`{hero}`](hero.md): `elasticsearch`, `kibana`, `logstash`, `observability`, `security`, `elastic-stack`. ## Inside `{explore}` diff --git a/src/Elastic.Markdown/Myst/Directives/Hub/ProductIcons.cs b/src/Elastic.Markdown/Myst/Directives/Hub/ProductIcons.cs index 98b96b2a9..5231c7eae 100644 --- a/src/Elastic.Markdown/Myst/Directives/Hub/ProductIcons.cs +++ b/src/Elastic.Markdown/Myst/Directives/Hub/ProductIcons.cs @@ -53,6 +53,13 @@ public static class ProductIcons + """, + ["elastic-stack"] = """ + """ }.ToFrozenDictionary(StringComparer.OrdinalIgnoreCase); From 97de7e914ce780cd7ca96209486d1ff46a77926f Mon Sep 17 00:00:00 2001 From: Florent LB Date: Fri, 14 Aug 2026 17:13:38 +0200 Subject: [PATCH 2/3] Declare the products hub prefix as a navigation phantom Isolated docs-content builds reject pages under prefixes that assembler navigation does not claim. A real toc entry would fail assembler until the hub pages exist on docs-content main. Co-authored-by: Cursor --- config/navigation.yml | 1 + config/navigation_preview.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/config/navigation.yml b/config/navigation.yml index 14b502d12..4d522f9cb 100644 --- a/config/navigation.yml +++ b/config/navigation.yml @@ -11,6 +11,7 @@ phantoms: - toc: docs-content://release-notes/elasticsearch-clients - toc: docs-content://release-notes/apm-agents - toc: docs-content:// + - toc: docs-content://products - toc: cloud://release-notes toc: diff --git a/config/navigation_preview.yml b/config/navigation_preview.yml index 2357922a6..0fff5b881 100644 --- a/config/navigation_preview.yml +++ b/config/navigation_preview.yml @@ -12,6 +12,7 @@ phantoms: - toc: docs-content://release-notes/elasticsearch-clients - toc: docs-content://release-notes/apm-agents - toc: docs-content:// + - toc: docs-content://products - toc: cloud://release-notes toc: From 4f70ce63341e0e939617dcffb6d7cde61bf2d178 Mon Sep 17 00:00:00 2001 From: Florent LB Date: Fri, 14 Aug 2026 17:16:57 +0200 Subject: [PATCH 3/3] Revert "Declare the products hub prefix as a navigation phantom" This reverts commit 97de7e914ce780cd7ca96209486d1ff46a77926f. --- config/navigation.yml | 1 - config/navigation_preview.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/config/navigation.yml b/config/navigation.yml index 4d522f9cb..14b502d12 100644 --- a/config/navigation.yml +++ b/config/navigation.yml @@ -11,7 +11,6 @@ phantoms: - toc: docs-content://release-notes/elasticsearch-clients - toc: docs-content://release-notes/apm-agents - toc: docs-content:// - - toc: docs-content://products - toc: cloud://release-notes toc: diff --git a/config/navigation_preview.yml b/config/navigation_preview.yml index 0fff5b881..2357922a6 100644 --- a/config/navigation_preview.yml +++ b/config/navigation_preview.yml @@ -12,7 +12,6 @@ phantoms: - toc: docs-content://release-notes/elasticsearch-clients - toc: docs-content://release-notes/apm-agents - toc: docs-content:// - - toc: docs-content://products - toc: cloud://release-notes toc: