Hello there!
First of all, many thanks for creating this great library.
I used it in my project but pointed the :ref: to an invalid python module of mine (it was missing a __init__.py), then sphinx-argparse raised an exception whose message was not helpful at all.
This patch provides a much more descriptive output, for example:
/home/..redacted../docs/source/cli.rst:33: ERROR: Failed to import "MyPythonProject.console.parsers.command1" from "parser": No module named parsers.command1
/home/..redacted../docs/source/cli.rst:33: ERROR: Failed to import "MyPythonProject.console.parsers.command2" from "parser": No module named parsers.command2
Hello there! First of all, many thanks for creating this great library.
I used it in my project but pointed the
:ref:
to an invalid python module of mine (it was missing a__init__.py
), then sphinx-argparse raised an exception whose message was not helpful at all.This patch provides a much more descriptive output, for example: