Skip to content

Conversation

@colleenmcginnis
Copy link
Contributor

Adds a reference/toc.yml file, move individual reference toc entries from docset.yml to the new reference/toc.yml file. This also moves the intro content from docs-content to this repo so the intro can be at elastic.co/docs/reference/elasticsearch/.

@colleenmcginnis colleenmcginnis added >docs General docs changes Team:Docs Meta label for docs team labels Mar 24, 2025
@elasticsearchmachine elasticsearchmachine added v9.1.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Mar 24, 2025
@colleenmcginnis colleenmcginnis marked this pull request as ready for review March 24, 2025 15:54
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

Copy link
Contributor

@leemthompo leemthompo left a comment

Choose a reason for hiding this comment

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

🦭

@Mpdreamz
Copy link
Member

I did spot the root name is correct now:

image

And the breaking changes sub pages are named incorrectly.

Unrelated to this PR though

@@ -0,0 +1,10 @@
toc:
Copy link
Member

Choose a reason for hiding this comment

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

Needs an index.yml file.

@colleenmcginnis
Copy link
Contributor Author

I'm confused why I'm getting an error now... isn't this the pattern we used in https://github.com/elastic/docs-content/pull/897/files#diff-638bebef2d25c4bc8b59b234b825533f78bad25e4422581025d60f78a4ccc770? I must be missing something else.

@Mpdreamz
Copy link
Member

@colleenmcginnis we still need toc_max_depth in the config to enable multiple levels of toc definitions.

https://github.com/elastic/docs-content/blob/main/docset.yml#L2

@colleenmcginnis
Copy link
Contributor Author

@Mpdreamz
Copy link
Member

Ahh this check in docs-builder is overly restrictive.

It only allows a mix of file and toc in the docs-builder and docs-content repositories:

https://github.com/elastic/docs-builder/blob/7785afd41a6c7bc54f928c586b127a6a16b02378/src/Elastic.Markdown/IO/Configuration/TableOfContentsConfiguration.cs#L85

Will add a fix.

@Mpdreamz
Copy link
Member

That fixed it :)

@colleenmcginnis colleenmcginnis merged commit 162763b into elastic:main Mar 24, 2025
6 checks passed
@colleenmcginnis colleenmcginnis deleted the docs-assembler-part-2 branch March 24, 2025 19:24
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
* update docset.yml, add reference/toc.yml, update reference/elasticsearch/index.md

* Update docs/docset.yml

* add index.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>docs General docs changes external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Docs Meta label for docs team v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants