sphinx-contrib / matlabdomain

A Sphinx extension for documenting Matlab code
http://sphinxcontrib-matlabdomain.readthedocs.io/
Other
70 stars 45 forks source link

crashes if filename and classname are different #13

Closed joeced closed 6 years ago

joeced commented 10 years ago

Originally reported by: Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown)


this is expected, but there is a use case where filenames might not have the same name, EG if it's a copy of that file

suggest change filename extension to something else


joeced commented 10 years ago

Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):


see #12 and #13, send warning to user, fail silently, don't document file

joeced commented 10 years ago

Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):


wontfix

joeced commented 6 years ago

Instead of raising an exception, the sphinx logging is used to warn the user. The file is not parsed.