Closed ludovicsteinbach closed 5 years ago
I tried running this on my own machine, where it doesn't fail. Can you provide a list with version numbers of installed modules, something like pip list
.
Edit1: It does actually fail, but not exactly as you described. The %s
in the sprintf(
function call, turns the rest of the line into a comment. This results in us missing the rest of the methods.
Edit2: Link to Pygments highlighting http://pygments.org/demo/6783196/
Edit3: A quick fix, is to use single quotes for strings instead of double quotes.
Fixed in https://github.com/sphinx-contrib/matlabdomain/commit/abb5c34f44399a87f35447818aca2cd3173667d4.
I just pushed an update, fixing the parsing of strings in double quotes. I'll prepare a new release tonight.
It seems that .. autoclass:: fails to document a class if one of the method uses sprintf and a formatSpec that includes a '%' character.
Class definition
rst
.. autoclass:: whatever
Error sphinx-err-w_6f0dvv.log