mkdocstrings-matlab 0.1.5__py2.py3-none-any.whl → 0.1.7__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- mkdocstrings_handlers/matlab/handler.py +1 -1
- mkdocstrings_handlers/matlab/matlab/+docstring/resolve.m +11 -5
- {mkdocstrings_matlab-0.1.5.dist-info → mkdocstrings_matlab-0.1.7.dist-info}/METADATA +1 -1
- {mkdocstrings_matlab-0.1.5.dist-info → mkdocstrings_matlab-0.1.7.dist-info}/RECORD +6 -6
- {mkdocstrings_matlab-0.1.5.dist-info → mkdocstrings_matlab-0.1.7.dist-info}/WHEEL +0 -0
- {mkdocstrings_matlab-0.1.5.dist-info → mkdocstrings_matlab-0.1.7.dist-info}/licenses/LICENSE +0 -0
@@ -125,7 +125,7 @@ class MatlabHandler(BaseHandler):
|
|
125
125
|
super().__init__(*args, **kwargs)
|
126
126
|
|
127
127
|
if paths is None:
|
128
|
-
|
128
|
+
full_paths = ""
|
129
129
|
else:
|
130
130
|
config_path = Path(config_file_path).parent
|
131
131
|
full_paths = [str((config_path / path).resolve()) for path in paths]
|
@@ -60,13 +60,19 @@ switch exist(identifier) %#ok<EXIST>
|
|
60
60
|
|
61
61
|
% Try with metafunction
|
62
62
|
object = matlab.internal.metafunction(identifier);
|
63
|
-
if ~isempty(object)
|
64
|
-
if
|
65
|
-
|
63
|
+
if ~isempty(object)
|
64
|
+
if isa(object, 'matlab.internal.metadata.Function')
|
65
|
+
if isempty(object.Signature)
|
66
|
+
data = docstring.metadata.script(object);
|
67
|
+
else
|
68
|
+
data = docstring.metadata.func(object);
|
69
|
+
end
|
70
|
+
data.name = identifier;
|
71
|
+
elseif isa(object, 'matlab.internal.metadata.Method')
|
72
|
+
data = docstring.case.class(identifier);
|
66
73
|
else
|
67
|
-
|
74
|
+
docstring.exception(identifier);
|
68
75
|
end
|
69
|
-
data.name = identifier;
|
70
76
|
else
|
71
77
|
docstring.exception(identifier);
|
72
78
|
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
mkdocstrings_handlers/matlab/__init__.py,sha256=laA2bEP5rxdIWBLmfLiKKu7ChZ_HzCe-VeRvxmUTqww,128
|
2
2
|
mkdocstrings_handlers/matlab/collections.py,sha256=oiDK4nwIUXroIPxw6Cu13WcBxmCyAHjPn7naaW_Yhjs,445
|
3
|
-
mkdocstrings_handlers/matlab/handler.py,sha256=
|
3
|
+
mkdocstrings_handlers/matlab/handler.py,sha256=PhxgwIJigwhYmpy-cjX0l7fC-LQRYUS5VvTw8w1VKmc,16964
|
4
4
|
mkdocstrings_handlers/matlab/models.py,sha256=n1l1Gr5Wq7nsrsP4PSePGfnGcln0NI-zSrkijGJBf80,5644
|
5
5
|
mkdocstrings_handlers/matlab/parser.py,sha256=bA3KRNnYjSewqyJI8OmLKATk3AZOq9-28UQg0L6f9os,843
|
6
6
|
mkdocstrings_handlers/matlab/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
mkdocstrings_handlers/matlab/matlab/matlab_startup.m,sha256=rGXiR8fI2GW7yWmHxgzE5Un66n5ws3ogYnMvS2oWO8U,464
|
8
8
|
mkdocstrings_handlers/matlab/matlab/+docstring/exception.m,sha256=sj2ycqMpknn_OG5A5X_b5e4WcAoR2oPoqNnDEHJsi7c,222
|
9
|
-
mkdocstrings_handlers/matlab/matlab/+docstring/resolve.m,sha256=
|
9
|
+
mkdocstrings_handlers/matlab/matlab/+docstring/resolve.m,sha256=jq_gWvQ0F-BgKgZUZmanaLtaphJqKYWmVESQZpUlvXU,3041
|
10
10
|
mkdocstrings_handlers/matlab/matlab/+docstring/+case/builtin.m,sha256=IioiokiaLnsi_6VXraaGdU2AgjCNApYhgVEmp2Lg1eA,245
|
11
11
|
mkdocstrings_handlers/matlab/matlab/+docstring/+case/class.m,sha256=kVQxUEk8iOfHK2_NnN0HjHVhFnPgUqsf9PzyKC93y0g,276
|
12
12
|
mkdocstrings_handlers/matlab/matlab/+docstring/+case/func.m,sha256=QneDYSICtXqdPNq8sYNieirXUisuDKRM9rxPx-0osDU,137
|
@@ -22,7 +22,7 @@ mkdocstrings_handlers/matlab/matlab/+docstring/+utils/dedent.m,sha256=IsqIZKyaBU
|
|
22
22
|
mkdocstrings_handlers/matlab/matlab/+docstring/+utils/get_namespace_path.m,sha256=4NlQ7-RjqIFZAn6P-9JzCrm2FvfGRKiM2M_leINj9i4,835
|
23
23
|
mkdocstrings_handlers/matlab/matlab/+docstring/+utils/parse_doc.m,sha256=iFNpbnOr9FAv-3Zn8ksJHIthXAB7XKYVfH2NGFinzHs,499
|
24
24
|
mkdocstrings_handlers/matlab/resources/grammar.yml,sha256=GLI4xdATiB70bzRscXOVwMlw0YFlA-3GJzuzqWeBKJU,19511
|
25
|
-
mkdocstrings_matlab-0.1.
|
26
|
-
mkdocstrings_matlab-0.1.
|
27
|
-
mkdocstrings_matlab-0.1.
|
28
|
-
mkdocstrings_matlab-0.1.
|
25
|
+
mkdocstrings_matlab-0.1.7.dist-info/METADATA,sha256=pmieiST1GvTvFawrOemM1j-8ilj6TzKbrRZu5zSBBe4,549
|
26
|
+
mkdocstrings_matlab-0.1.7.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
|
27
|
+
mkdocstrings_matlab-0.1.7.dist-info/licenses/LICENSE,sha256=14xA0OIYNpfmdeuq8-Yyqg7-3IJ4qhu3BJhknent-cY,1069
|
28
|
+
mkdocstrings_matlab-0.1.7.dist-info/RECORD,,
|
File without changes
|
{mkdocstrings_matlab-0.1.5.dist-info → mkdocstrings_matlab-0.1.7.dist-info}/licenses/LICENSE
RENAMED
File without changes
|