sphinx-doc / sphinx-argparse

A Sphinx extension to automatically document argparse commands and options
https://sphinx-argparse.readthedocs.org/
MIT License
26 stars 24 forks source link

finding executables installed as `scripts` #16

Closed tsutterley closed 1 year ago

tsutterley commented 2 years ago

would it be possible to include an additional search for :filename: using either distutils.spawn.find_executable or shutil.which? This would find the absolute filepath for CLI utilities installed as scripts in setup.py.

Having this could address the issue in #4 for relative filepaths. I'd gladly put in a PR.