Thank you very much for the effort you're putting into this project, for maintaining it in the first place and especially for fixing #116 so quickly!
While continuing to document my sources today I found another curious issue. See below.
Steps to reproduce
Get a copy of this github repo
In docs/src/ add a file called test.m with this content:
classdef test
%TEST Summary of this class goes here
%
% Detailed explanation goes here
properties
Property1
end
methods
function obj = test(inputArg1,inputArg2)
%TEST Construct an instance of this class
%
% Detailed explanation goes here
fprintf("...");
return;
end
end
end
Compile the docs: make html
Expected output
The docs are generated without warnings
Actual output
A warning is generated when compiling:
WARNING: [sphinxcontrib-matlabdomain] Parsing failed in src.test. Check if valid MATLAB code.
Additional observations
The warning occurs when a "..." is contained in an fprintf statement in the class method. The actual text doesn't matter as long as it contains a literal "..." as string.
The warning does not occur if fprintf("..."); is inserted into the times_two.m function.
The warning occurs independent from the fprintf, something like var = ("..."); triggers it, too.
First of all:
Thank you very much for the effort you're putting into this project, for maintaining it in the first place and especially for fixing #116 so quickly!
While continuing to document my sources today I found another curious issue. See below.
Steps to reproduce
In
docs/src/
add a file calledtest.m
with this content:make html
Expected output
The docs are generated without warnings
Actual output
A warning is generated when compiling:
Additional observations
fprintf("...");
is inserted into thetimes_two.m
function.var = ("...");
triggers it, too.