docs: bring CLI docs up to Elastic Docs conventions#406
Conversation
Add required frontmatter (type, applies_to, description), fix content type structure for how-to pages (action-verb titles, Before you begin, success checkpoints, Next steps), improve overview stubs, and apply Vale-flagged style fixes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
docs-builder generates shortcut alias pages (es, elasticsearch, kibana) that link to /cli/stack/es/ and /cli/stack/kb/ but never produces those namespace index pages from the schema. Adding stub pages at those paths resolves the broken-link build error. NOTICE.txt was also out of date; regenerated via generate-notice.mjs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Docs-builder generates broken alias pages from the non-standard shortcuts field, while runtime CLI shortcuts continue to be handled by argv rewriting. Co-authored-by: GPT-5.5 <gpt-5.5@openai.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
@JoshMock @Mpdreamz I pushed a fix for the docs-build failure. The broken build was caused by the generated CLI schema emitting a non-standard I removed Verified locally:
|
🔍 Preview links for changed docs |
✅ 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. |
Move install and configuration pages under the docs landing page and keep stack namespace files as CLI supplemental content only. Co-authored-by: GPT-5.5 <gpt-5.5@openai.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Pushed an additional docs cleanup commit to this branch:
I also opened the two upstream docs-builder PRs we discussed: |
Co-authored-by: GPT-5.5 <gpt-5.5@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: GPT-5.5 <gpt-5.5@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
On this page, clicking "es" in the side column correctly goes to |
|
@JoshMock Uh! Looking at it now. |
The docs-builder was generating Sub-namespace links as /cli/stack/es/index instead of /cli/stack/es because the content files were named index.md inside subdirectories. Renaming to flat .md files fixes the broken links. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pages Flat .md files must have a title and be registered in the navigation. Adds frontmatter (description, applies_to, type, navigation_title, H1) and registers both files as children of the CLI schema toc entry. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…gments Hidden pages are registered in navigation (satisfying the docs-builder requirement) but not shown in the sidebar. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@JoshMock Should be good now, PTAL (can't merge on my own) |
Summary
type,applies_to,description) to all four docs pages;productsleft out pending an official product ID for this new CLIapplies_to: stack: preview / serverless: previewon all pages, reflecting the CLI's current experimental status and support for both deployment typesinstallation.mdandconfiguration.mdas proper how-to pages: action-verb H1 titles, Before you begin prerequisites, numbered steps, success checkpoints (elastic --version,elastic status), and Next steps linkscli/index.mdoverview stub with a brief capability summary and use-case list; remove the embedded instructional sentence (belongs in a how-to)execute→ "run",e.g.→ "for example,", passive voice, Oxford comma, unformatted binary name, ambiguous "Either flag"🤖 Generated with Claude Code