Repository navigation
Add the product hubs to the left nav and the landing page - #4477
Merged
Merged
Conversation
Co-authored-by: Cursor <[email protected]>
1 of 7 tasks
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4477/ |
Co-authored-by: Cursor <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ystem landing page Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…tack Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ection The cards now follow the left nav order, with Deploy and manage first. The section is now titled Elasticsearch Platform guides, and the Docs by product card description ends with a period. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Both landing templates now have tests that check the four product hub links and the release notes link in the rendered HTML. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
georgewallace
approved these changes
Oct 23, 2026
georgewallace
left a comment
Contributor
There was a problem hiding this comment.
New homepage additions look great. Validated through full story that release notes moving up should have minimal impact.
The test now reads the upgrade paragraph and checks the release notes link inside it. It also fails if the old Release notes card link returns. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
bmorelli25
approved these changes
Oct 23, 2026
Member
|
@copilot resolve the merge conflicts in this pull request |
# Conflicts: # tests/Navigation.Tests/Rendering/LandingLayoutRenderingTests.cs Co-authored-by: bmorelli25 <[email protected]>
bmorelli25
approved these changes
Oct 27, 2026
bmorelli25
enabled auto-merge (squash)
October 27, 2026 14:47
theletterf
approved these changes
Oct 27, 2026
wajihaparvez
pushed a commit
to wajihaparvez/docs-content
that referenced
this pull request
Oct 27, 2026
## Summary Readers can reach the product hubs from the left nav. Elastic Stack is a nav group right after Elastic fundamentals. Its page is the group's landing page, and the Elasticsearch, Kibana, and Logstash hubs sit under it. Relates to [docs-content-internal#1561](elastic/docs-content-internal#1561). - `docset.yml`: replaces the four `hidden:` hub entries with `- toc: products`, placed right after `get-started`. `deploy-manage` also moves up to follow `products`, to match the order in the docs-builder `navigation.yml`. - `products/toc.yml`: removes the "not loaded yet" comment. `elastic-stack.md` is the first entry, so it becomes the group's page. The three product hubs follow as its children. This PR is stacked on elastic#7964, so its base is `docs-hub-pages-v1`. GitHub retargets it to `main` when elastic#7964 merges. ## Merge order 1. [elastic#7964](elastic#7964) adds the hub pages. 2. This PR loads `toc: products` in the docset. 3. [elastic/docs-builder#4477](elastic/docs-builder#4477) adds the group to the assembled left nav. Merge docs-builder#4477 last. It fails the assembler `build` check until step 2 lands, because the assembler builds the nav against the default branch of this repo. ## Test plan - [ ] In the preview, the left nav shows Elastic Stack right after Elastic fundamentals - [ ] Elastic Stack expands to Elasticsearch, Kibana, and Logstash - [ ] Deploy and manage follows Elastic Stack - [ ] `/products/elastic-stack`, `/products/elasticsearch`, `/products/kibana`, and `/products/logstash` still resolve - [ ] Elastic Stack appears once in the nav, not nested inside itself ## Screenshots to add or update None added. The left nav gains one group, so check it in the preview. ## Generative AI disclosure 1. Did you use a generative AI (GenAI) tool to assist in creating this contribution? - [x] Yes - [ ] No Tool(s) and model(s) used: Cursor, Claude Sonnet 5.5 (nav change and PR description) --------- Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the Elastic Stack, Elasticsearch, Kibana, and Logstash product hubs to the assembled left nav, and links them from the Elastic Docs landing page so readers and search engines can find them.
Affects: Navigation, Site UI
Prompt summary: Add the new product hub pages to the docs site navigation and link them from the Elastic Docs landing page. Google indexes a new page faster when a high-traffic docs page links to it, so the landing page gets a direct link to each hub.
Why
The hub pages from elastic/docs-content#7964 have no entry point. The left nav does not list them and the landing page does not mention them, so readers can only reach them by URL and search engines have no internal link to follow. The landing page cards under "How-to guides" also follow an older order than the nav, which now puts Deploy and manage first.
What
Left nav
Elastic Stack becomes a group right after Elastic fundamentals, with the Elasticsearch, Kibana, and Logstash hubs under it.
deploy-managemoves up to followproducts. Thedocs-content://productsphantom entry is removed because the toc now appears in the nav.config/navigation_preview.ymlis unchanged and keeps its own phantom and the static Products dropdown.Hub links on the landing page
A Docs by product card replaces the Release notes card in Product resources. It links to the Elasticsearch, Kibana, and Logstash hubs, and See all Elastic Stack links to the Elastic Stack hub. The change is in both landing templates,
_LandingPage.cshtmland_DesignSystemLandingPage.cshtml, with the design-system styles inpages.css.Release notes link
The release notes link moves into the "Upgrading from an earlier version?" line, next to the upgrade guide, because readers who look for either one are working out what changes between versions.
Guides section
The "How-to guides" section is now "Elasticsearch Platform guides", and its cards follow the nav order: Deploy and manage, Manage data, Explore and analyze, then Manage Cloud account. The section anchor changes from
#how-to-guidesto#elasticsearch-platform-guides, so an outside link to the old anchor still opens the page but no longer scrolls to the section.Tests
LandingLayoutRenderingTestsnow renders the landing page with navigation preview off and on. It checks that the/docs/products/...links to the four hubs are in the HTML, and that the release notes link sits in the upgrade line with no Release notes card link on the page. A link dropped from one template fails a test.Stack: 3 of 3, on top of elastic/docs-content#7964 (adds the hub pages) and elastic/docs-content#8870 (loads
toc: products). Merge this PR last. The assemblerbuildcheck fails with "Could not find navigation node for identifier" until both land, because the assembler builds the nav against the default branch of docs-content. The hub links on the landing page point to/products/...and resolve only after the same two PRs merge.Verify
dotnet run --project tests/Navigation.Tests -- --treenode-filter "/*/*/LandingLayoutRenderingTests/*"To see the landing page, serve the test docset and open
/landing-page. AddFEATURE_NAVIGATION_PREVIEW=trueto see the design-system version.Generative AI disclosure
Tool(s) and model(s) used: Cursor and Claude Code, Claude Sonnet 5.5 (nav change, landing page change, and PR description)