You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the ability to customize the TOC with links to pages that don't exist within the current content set. The goal is be able to interweave internal (elastic.co/docs/*) and external links to content into the navigation structure of a content set. This will allow us to, for example, link to API docs from within a narrative TOC.
If the content being linked to is within a different content set, the TOC should update to reflect the move to a new content set.
The way this is being implemented is to allow crosslinks in the nav. In that sense, a doc will only exist once in nav, but we'll be able to link to it from other navs.
Activity
theletterf commentedon Jul 25, 2025
Agree. I think the external links path is the simplest, also to avoid crosslink resolution in the nav:
It would render like a nav item, but with an external link indicator, like we added here: #1096
lcawl commentedon Aug 28, 2025
This functionality was mentioned in the docs team meeting today and I am hoping that the way this is implemented we'll still only have each file appearing once in the entire navigation tree. Otherwise I think we'll hit a problem that we encountered in docsmobile where you'd land or return to the "wrong" occurrence of the page in some search / navigation experiences. If that single use limitation persists, we ought to make that as clear as possible (e.g. in https://docs-v3-preview.elastic.dev/elastic/docs-builder/tree/main/configure/content-set/navigation#toc.yml) and check for PRs that break that behaviour.
theletterf commentedon Aug 28, 2025
The way this is being implemented is to allow crosslinks in the nav. In that sense, a doc will only exist once in nav, but we'll be able to link to it from other navs.
reakaleek commentedon Sep 9, 2025
deployed to production already