Skip to content

Fix: Don't truncate command docstrings in typer docs output#1494

Open
timonrieger wants to merge 1 commit intofastapi:masterfrom
timonrieger:docs/dont-truncate-docstrings
Open

Fix: Don't truncate command docstrings in typer docs output#1494
timonrieger wants to merge 1 commit intofastapi:masterfrom
timonrieger:docs/dont-truncate-docstrings

Conversation

@timonrieger
Copy link

Fixes docstring truncation when generating documentation with typer docs.

Changed get_short_help_str() to command_obj.help in the commands list generation to display full docstrings instead of truncated versions, matching the behavior used for the main command help text.

…nd_obj.help` instead of `get_short_help_str()`
@svlandeg svlandeg added the feature New feature, enhancement or request label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature, enhancement or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants