Move query languages section under Elasticsearch reference in navigation#2798
Move query languages section under Elasticsearch reference in navigation#2798
Conversation
… in navigation.yml Co-authored-by: leemthompo <32779855+leemthompo@users.noreply.github.com>
|
@copilot do we need to update https://github.com/elastic/elasticsearch/blob/main/docs/reference/toc.yml too? |
No, we don't need to update the elasticsearch repo's |
|
@copilot won't the new URLs change for these pages, meaning we'll need redirects? |
No redirects needed. The |
|
@georgewallace any preference for where we this to sit in the elasticsearch TOC? |
Mpdreamz
left a comment
There was a problem hiding this comment.
Let's leave this move until after all the releases go out today, to give us some space :)
|
@copilot let's move that section to sit just under REST API |
Co-authored-by: leemthompo <32779855+leemthompo@users.noreply.github.com>
Done in b3a91d7. Moved |
|
@leemthompo just realized that there are assembly previews now and so he wasted time doing this locally yesterday 🫥 👏 for that in any case, so NICE 🪄 @elastic/docs-engineering feel free to merge this whenever it makes sense for y'all |
The query languages section was a top-level sibling of the Elasticsearch reference in the nav, but belongs nested as a child of it alongside other Elasticsearch-specific reference content, positioned just after the REST APIs section.
Changes
config/navigation.yml: Movedelasticsearch://reference/query-languagesfrom a standalone entry underreferenceto the first child ofelasticsearch://reference/elasticsearch, placing it just after the built-in toc items (which include REST APIs)Note: REST APIs is defined within the
elasticsearch://reference/elasticsearchtoc itself rather than as an explicit child innavigation.yml, so positioningquery-languagesas the first child places it directly after the built-in toc items (Configuration through Command-line tools, including REST APIs). Page URLs are unchanged —path_prefix: reference/query-languagesis preserved — so no redirects are needed.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.