Update navigation.yml
#845
Merged
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.
I'm stuck on updating the
navigation.yml
for release notes and I'm hoping @Mpdreamz can help me figure out where I'm going wrong.The problem
path_prefix
to thetoc.yml
file in each subdirectory in docs-content'srelease-notes
directory:elastic-cloud-serverless
→release-notes/cloud-serverless
elastic-observability
→release-notes/observability
elastic-security
→release-notes/security
fleet-elastic-agent
→release-notes/fleet
index.md
file (justrelease_notes
).navigation.yml
file, but I'm not sure how to deal with theindex.md
file (justrelease_notes
) file because it doesn't have its owntoc.yml
.What I tried
.artifacts/checkouts/docs-content/release-notes
directory, I created a newintro
directory.index.md
: An exact copy ofindex.md
.toc.yml
: With theindex.md
file as the only item.toc.yml
to be:Error: No toc for output path: 'docs-content://release-notes/index.md' falling back to: '/GitHub/docs-builder/.artifacts/assembly/docs/_failed/docs-content/release-notes/index.md'
and the rendered result looked like this:I'm not sure what else to do.
Other changes
max_toc_depth: 2
to the cloud repo'sdocset.yml
file because I added separate items forcloud://release-notes/cloud-hosted
andcloud://release-notes/cloud-enterprise
since these need different path prefixes, too.curator
,ecctl
, andlogstash-docs-md
toassembler.yml
andnavigation.yml
now that they are available and their links.json files are being updated.