Skip to content
Discussion options

You must be logged in to vote

I know it is not autodoc but it might help people in a similar spot that do not have a hard requirement on that.
I actually like the documentation provided by sphinx_click.

Since typer uses click under the hood, you can use this by exposing the typer_click_object as input for that.
How to get that is described here
and using it works like this

.. click:: path.to.module:typer_click_object
   :prog: prog_name
   :nested: full

Hope someone finds this helpful.

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@zmoon
Comment options

@svlandeg
Comment options

svlandeg Jul 7, 2026
Collaborator

Answer selected by tiangolo
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem investigate
6 participants
Converted from issue

This discussion was converted from issue #200 on February 18, 2026 11:34.