You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.. argparse::
:filename: ../main.py
:func: main
:prog: main.py
Exception occurred:
\.venv\Lib\site-packages\sphinxarg\ext.py", line 448, in _open_filename
return open(shutil.which(self.options['filename']))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered:
Fixes issue sphinx-doc#45
Code is not equipped to handle scenario when
```shutil.which``` return *None*.
Adding ```TypeError``` Exception to the error handling.
(this is a necessary duplicate of sphinx-doc/sphinx#11760)
The following code produces the following error:
The text was updated successfully, but these errors were encountered: