mkdocstrings-matlab 0.1.1__py2.py3-none-any.whl → 0.1.3__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,4 +9,4 @@ function data = class(identifier)
9
9
  object = metaclass(identifier);
10
10
  data = docstring.metadata.class(object);
11
11
 
12
- end
12
+ end
@@ -22,9 +22,9 @@ function data = argument(object)
22
22
  else
23
23
  if ~isempty(object.DefaultValue) && object.DefaultValue.IsConstant
24
24
  value = object.DefaultValue.Value;
25
- if strcmp(value, "")
26
- data.default = """""";
27
- elseif isstring(value) || ischar(value)
25
+ if isstring(value)
26
+ data.default = sprintf("""%s""", value);
27
+ elseif ischar(value)
28
28
  data.default = sprintf("'%s'", value);
29
29
  else
30
30
  data.default = string(value);
@@ -1,6 +1,6 @@
1
1
  function data = class(object)
2
2
  arguments
3
- object (1,1) matlab.metadata.Class
3
+ object (1,1) % meta.class matlab.metadata.Class
4
4
  end
5
5
  data.type = 'class';
6
6
 
@@ -45,4 +45,4 @@ function data = class(object)
45
45
  nameparts = split(object.Name, '.');
46
46
  data.constructor = any(strcmp(nameparts(end), [data.methods.name]));
47
47
 
48
- end
48
+ end
@@ -1,7 +1,7 @@
1
1
  function data = func(object)
2
2
 
3
3
  arguments
4
- object (1,1) matlab.metadata.MetaData
4
+ object (1,1) % meta.MetaData matlab.metadata.MetaData
5
5
  end
6
6
 
7
7
  data.type = 'function';
@@ -1,7 +1,7 @@
1
1
  function doc = parse_doc(object, combine)
2
2
 
3
3
  arguments
4
- object (1,1) matlab.metadata.MetaData
4
+ object (1,1) % meta.MetaData matlab.metadata.MetaData
5
5
  combine (1,1) logical = true
6
6
  end
7
7
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: mkdocstrings-matlab
3
- Version: 0.1.1
3
+ Version: 0.1.3
4
4
  Summary: Add your description here
5
5
  Author-email: Mark Hu <mark.hu@asml.com>
6
6
  License-File: LICENSE
@@ -6,20 +6,20 @@ mkdocstrings_handlers/matlab/matlab/matlab_startup.m,sha256=rGXiR8fI2GW7yWmHxgzE
6
6
  mkdocstrings_handlers/matlab/matlab/+docstring/exception.m,sha256=sj2ycqMpknn_OG5A5X_b5e4WcAoR2oPoqNnDEHJsi7c,222
7
7
  mkdocstrings_handlers/matlab/matlab/+docstring/resolve.m,sha256=ZHHz6ujW1godzDcGtC3p0SsVARv-roseUh85e2eTBrE,2736
8
8
  mkdocstrings_handlers/matlab/matlab/+docstring/+case/builtin.m,sha256=IioiokiaLnsi_6VXraaGdU2AgjCNApYhgVEmp2Lg1eA,245
9
- mkdocstrings_handlers/matlab/matlab/+docstring/+case/class.m,sha256=MXeRhQibRQSOYwbrmc9tHLS723baStzSf9yXfzSEri0,275
9
+ mkdocstrings_handlers/matlab/matlab/+docstring/+case/class.m,sha256=kVQxUEk8iOfHK2_NnN0HjHVhFnPgUqsf9PzyKC93y0g,276
10
10
  mkdocstrings_handlers/matlab/matlab/+docstring/+case/func.m,sha256=QneDYSICtXqdPNq8sYNieirXUisuDKRM9rxPx-0osDU,137
11
11
  mkdocstrings_handlers/matlab/matlab/+docstring/+case/method.m,sha256=Bw8Mb96OP7-AnbGnvRMySOIbYSTtEC1BGBnqHMEIhsM,165
12
12
  mkdocstrings_handlers/matlab/matlab/+docstring/+case/namespace.m,sha256=ZpYrgZHLIdGvgg3F6210gDTska9YyASn63ZVYkBq41A,667
13
- mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/argument.m,sha256=xfshXZas8h0oZ2od5b6hW_f4_-u_XmiJSS52XiAOaC4,1906
14
- mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/class.m,sha256=NjJxS1Kn5Bhbfk_W-0ySs3gJ5ImrEClkns8w7Fs-g9E,1659
15
- mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/func.m,sha256=urjYQauSRZ9bXg4co4gurOmiKzj5Sc4IS8FRKU8eEHM,408
13
+ mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/argument.m,sha256=i4lDOdGj35PahqX4HsSghibbcOlNRJ17R1N05IMi0Yg,1904
14
+ mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/class.m,sha256=n7qDJACSybOGjrQJPR8EzoMxkw2WOPMvPflvshkLz3Q,1673
15
+ mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/func.m,sha256=k1gz4kjEQX5DCIfzCs1lee5jjAL4fg6A7LnwcUF8kRE,424
16
16
  mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/namespace.m,sha256=kMzfAoWIpMXH76rrkyUqauJSRIaylsfnu0Cds4pYnJc,481
17
17
  mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/property.m,sha256=rH3cHz66ZG9sUvDU2fhlyASSB_yp0SiHlbpB44fcFiY,1560
18
18
  mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/script.m,sha256=pmuazWBqlugNEEojfQFkAg1ioErizoiEZ9RcFXecCP4,329
19
19
  mkdocstrings_handlers/matlab/matlab/+docstring/+utils/dedent.m,sha256=r02mWQkRP9uuoEl-f-02h1-ja17a_29LTeyJvK-kazI,669
20
20
  mkdocstrings_handlers/matlab/matlab/+docstring/+utils/get_namespace_path.m,sha256=4NlQ7-RjqIFZAn6P-9JzCrm2FvfGRKiM2M_leINj9i4,835
21
- mkdocstrings_handlers/matlab/matlab/+docstring/+utils/parse_doc.m,sha256=6pGRMZSPrqaI5C0LNan342-Dje5tneDwUPkUJ_cMiSA,483
22
- mkdocstrings_matlab-0.1.1.dist-info/METADATA,sha256=I4RLFAZMluugnZ1sefZSDCGRF4_s5ETUav-_o7yFtw8,457
23
- mkdocstrings_matlab-0.1.1.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
24
- mkdocstrings_matlab-0.1.1.dist-info/licenses/LICENSE,sha256=14xA0OIYNpfmdeuq8-Yyqg7-3IJ4qhu3BJhknent-cY,1069
25
- mkdocstrings_matlab-0.1.1.dist-info/RECORD,,
21
+ mkdocstrings_handlers/matlab/matlab/+docstring/+utils/parse_doc.m,sha256=iFNpbnOr9FAv-3Zn8ksJHIthXAB7XKYVfH2NGFinzHs,499
22
+ mkdocstrings_matlab-0.1.3.dist-info/METADATA,sha256=kU1-tCUxvcT9qjHjlxLj1Y1EKlEbGi2H8ctPRUbaUjQ,457
23
+ mkdocstrings_matlab-0.1.3.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
24
+ mkdocstrings_matlab-0.1.3.dist-info/licenses/LICENSE,sha256=14xA0OIYNpfmdeuq8-Yyqg7-3IJ4qhu3BJhknent-cY,1069
25
+ mkdocstrings_matlab-0.1.3.dist-info/RECORD,,