You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(cli): improve docstring formatting for --help and markdown (#1210)
* docs(cli): improve docstring formatting for --help and markdown
- Add backticks around technical terms (APP_TARGET, APP_FLOW_SPECIFIER, paths, modules)
- Fix docstring formatting in cli.py for better rendering in both terminal and markdown
- Simplify extract_description() logic in generate_cli_docs.py (join with \n, let Markdown handle formatting)
- Fix bullet list formatting: each bullet now on separate line
- Eliminate redundant blank lines that break sentences mid-paragraph
- Ensure consistent, professional rendering across all CLI commands
Fixes#1108
* refactor: simplify blank line handling in extract_description
Remove unnecessary last_was_empty tracking logic. Click's help formatter
already produces well-formatted output, so we only need to:
- Append non-empty stripped lines
- Preserve blank lines for paragraph separation (if we have content)
This addresses reviewer feedback and makes the code cleaner and more maintainable.
0 commit comments