docs: add CLI lifecycle notice snippets and render lifecycle tags in nav#280
Conversation
|
Claude finished @dangrondahl's task in 1m 7s —— View job PR Review: CLI lifecycle notice snippets and nav tags
This is a clean, well-scoped PR. The changes are logically consistent: deprecated commands stay in their family group with a sidebar pill instead of being segregated, hidden commands are excluded from nav, and the snippet files are ready for the companion CLI release.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Adds the reusable Mintlify snippets the CLI doc generator imports for beta and deprecated commands (
snippets/cli-beta-notice.mdx,snippets/cli-deprecated-notice.mdx).Updates
scripts/update-cli-nav.pyso the sidebar pill comes from each page'stagfront matter (rendered by Mintlify): the separate "Deprecated" group is removed andhidden: truepages are excluded from navigation (still reachable by direct URL).Adds a fixture-based test (
scripts/test_update_cli_nav.py) verifying hidden pages are skipped, deprecated pages stay in their family group, and no Deprecated group is emitted.Deploy ordering: merge this first, then release the CLI with the generator changes (kosli-dev/cli companion PR); the release workflow regenerates
client_reference/with thetag/hiddenfront matter and resolves the snippet imports.