Hi @bckohan,
thank you for the very useful contribution to sphinx for parsing the typer documentation!
I'm managing to use it properly, but in my package I defined the CLI options in the __main__.py file and simply defined an entrypoint in my setup.py script.
entry_points={
"console_scripts": ["toolname=toolname.__main__:main"],
},
When building the documentation with sphinx I get though the __main__ string as the command and not the set up entry point.

Is there a way to configure the parsing for the documentation so that it considers this entrypoint?
Hi @bckohan,
thank you for the very useful contribution to sphinx for parsing the typer documentation!
I'm managing to use it properly, but in my package I defined the CLI options in the
__main__.pyfile and simply defined an entrypoint in mysetup.pyscript.When building the documentation with sphinx I get though the

__main__string as the command and not the set up entry point.Is there a way to configure the parsing for the documentation so that it considers this entrypoint?