Skip to content

fix(docs): correct version command schema and config nav hierarchy - #555

Merged
JoshMock merged 3 commits into
elastic:mainfrom
theletterf:main
Aug 20, 2026
Merged

fix(docs): correct version command schema and config nav hierarchy#555
JoshMock merged 3 commits into
elastic:mainfrom
theletterf:main

Conversation

@theletterf

Copy link
Copy Markdown
Member

Summary

Test plan

  • Verify elastic version --dry-run is no longer listed in the rendered reference docs
  • Verify the Configuration reference page appears nested under Configuration in the docs nav

Part of #100.

- Remove --dry-run from the version command schema (elastic version
  rejects the flag at runtime; closes elastic#554)
- Nest configuration_reference.md under configuration.md in docset.yml
  nav (closes elastic#553 partial — nav hierarchy fix)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@theletterf
theletterf marked this pull request as draft August 19, 2026 08:33
- Fix docset.yml child path: docs-builder resolves children relative to
  the parent's directory, so the child path must be
  configuration_reference.md (not cli/configuration_reference.md)
- Fix dry-run in schema: use a plain Command for the version stub in
  cli-schema.ts so the factory does not inject --dry-run. The previous
  direct schema.json edit bypassed the generator; this fixes the root cause.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

⏳ Building and deploying preview... View progress

This comment will be updated with preview links when the build is complete.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

@theletterf
theletterf marked this pull request as ready for review August 19, 2026 09:49
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JoshMock
JoshMock merged commit 8103cd4 into elastic:main Aug 20, 2026
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs] Not all commands support --dry-run, but reference docs include it

2 participants