Skip to content

Ensure reference is it's own toc that can be linked to #897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 3 additions & 26 deletions docset.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
project: 'Elastic documentation'
max_toc_depth: 2

features:
primary-nav: true
Expand Down Expand Up @@ -56,38 +57,14 @@ cross_links:
toc:
- file: index.md
- toc: get-started
in_nav: true
- toc: solutions
in_nav: true
- toc: manage-data
in_nav: true
- toc: explore-analyze
in_nav: true
- toc: deploy-manage
in_nav: true
- toc: cloud-account
in_nav: true
- toc: troubleshoot
- toc: release-notes
- file: reference/index.md
in_nav: true
children:
- toc: reference/security
- toc: reference/observability
- toc: reference/search
- toc: reference/elasticsearch
# The next one should be child of ☝️
- toc: reference/elasticsearch-clients
- toc: reference/ingestion-tools
# The next two should be children of ☝️
- toc: reference/fleet
- toc: reference/apm
# The next one should be child of ☝️
- toc: reference/apm-agents
- toc: reference/ecs
- toc: reference/data-analysis
- toc: reference/cloud
- toc: reference/glossary
- toc: reference
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reference isn't showing up the side nav anymore.

new:

image

old:

image

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ maybe this was caused by the missing index file

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- toc: extend
- toc: raw-migrated-files
- hidden: 404.md
Expand Down Expand Up @@ -296,4 +273,4 @@ subs:
apm_server_version: "9.0.0"
version: "9.0.0"
release-date: "2-April-2025"
heroku: "Elasticsearch Add-on for Heroku"
heroku: "Elasticsearch Add-on for Heroku"
19 changes: 19 additions & 0 deletions reference/toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
toc:
- file: index.md
- toc: security
- toc: observability
- toc: search
- toc: elasticsearch
# The next one should be child of ☝️
- toc: elasticsearch-clients
- toc: ingestion-tools
# The next two should be children of ☝️
- toc: fleet
- toc: apm
# The next one should be child of ☝️
- toc: apm-agents
- toc: ecs
- toc: data-analysis
- toc: cloud
- toc: glossary

Loading