#!matlab
classdef ClassWithEndOfLineComment
methods
% No spaces between the end of line and the comment causes Sphinx to crash
function test(this)% This crash
end
function test2(this) % This doesn't
end
end
end
Sphinx raises the following exception:
Exception occurred:
File "C:\Appli\Python\2.7\lib\site-packages\sphinxcontrib\mat_types.py", line 470, in __init__
raise TypeError('Expected a whitespace after input args.')
TypeError: Expected a whitespace after input args.
Originally reported by: Anonymous
When trying to document the following class:
Sphinx raises the following exception:
The complete error log is in the attachments.