mkdocstrings-matlab 0.2.1__tar.gz → 0.2.3__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/PKG-INFO +1 -1
  2. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/pyproject.toml +1 -1
  3. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/argument.m +1 -1
  4. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/class.m +1 -3
  5. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/.gitignore +0 -0
  6. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/LICENSE +0 -0
  7. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/README.md +0 -0
  8. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/docs/index.md +0 -0
  9. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/mkdocs.yml +0 -0
  10. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/__init__.py +0 -0
  11. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/collections.py +0 -0
  12. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/handler.py +0 -0
  13. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/builtin.m +0 -0
  14. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/class.m +0 -0
  15. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/func.m +0 -0
  16. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/method.m +0 -0
  17. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/namespace.m +0 -0
  18. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/func.m +0 -0
  19. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/namespace.m +0 -0
  20. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/property.m +0 -0
  21. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/script.m +0 -0
  22. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+utils/dedent.m +0 -0
  23. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+utils/get_namespace_path.m +0 -0
  24. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+utils/parse_doc.m +0 -0
  25. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/exception.m +0 -0
  26. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/+docstring/resolve.m +0 -0
  27. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/matlab/matlab_startup.m +0 -0
  28. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/models.py +0 -0
  29. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/parser.py +0 -0
  30. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/py.typed +0 -0
  31. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/src/mkdocstrings_handlers/matlab/resources/grammar.yml +0 -0
  32. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023a/.gitignore +0 -0
  33. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023a/LICENSE +0 -0
  34. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023a/README.md +0 -0
  35. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023a/pyproject.toml +0 -0
  36. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023a/src/mkdocstrings_handlers/matlab_engine/__init__.py +0 -0
  37. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023b/.gitignore +0 -0
  38. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023b/LICENSE +0 -0
  39. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023b/README.md +0 -0
  40. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023b/pyproject.toml +0 -0
  41. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2023b/src/mkdocstrings_handlers/matlab_engine/__init__.py +0 -0
  42. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024a/.gitignore +0 -0
  43. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024a/LICENSE +0 -0
  44. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024a/README.md +0 -0
  45. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024a/pyproject.toml +0 -0
  46. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024a/src/mkdocstrings_handlers/matlab_engine/__init__.py +0 -0
  47. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024b/.gitignore +0 -0
  48. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024b/LICENSE +0 -0
  49. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024b/README.md +0 -0
  50. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024b/pyproject.toml +0 -0
  51. {mkdocstrings_matlab-0.2.1 → mkdocstrings_matlab-0.2.3}/submodules/mkdocstrings-matlab-r2024b/src/mkdocstrings_handlers/matlab_engine/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: mkdocstrings-matlab
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Add your description here
5
5
  Author-email: Mark Hu <watermarkhu@gmail.com>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mkdocstrings-matlab"
3
- version = "0.2.1"
3
+ version = "0.2.3"
4
4
  description = "Add your description here"
5
5
  authors = [
6
6
  { name = "Mark Hu", email = "watermarkhu@gmail.com" }
@@ -44,7 +44,7 @@ function data = argument(object)
44
44
  for iSize = numel(object.Validation.Size):-1:1
45
45
 
46
46
  if isprop(object.Validation.Size(iSize), 'Length')
47
- data.size(iSize) = object.Validation.Size(iSize).Length;
47
+ data.size(iSize) = string(object.Validation.Size(iSize).Length);
48
48
  else
49
49
  data.size(iSize) = ":";
50
50
  end
@@ -13,6 +13,7 @@ function data = class(object, opts)
13
13
  data.sealed = object.Sealed;
14
14
  data.abstract = object.Abstract;
15
15
  data.enumeration = object.Enumeration;
16
+ data.properties = arrayfun(@(prop) docstring.metadata.property(prop), object.PropertyList);
16
17
  data.superclasses = arrayfun(@(o) string(o.Name), object.SuperclassList);
17
18
  data.handle = object.HandleCompatible;
18
19
  data.aliases = object.Aliases;
@@ -43,9 +44,6 @@ function data = class(object, opts)
43
44
  end
44
45
 
45
46
  numProp = numel(object.PropertyList);
46
- for iProp = numProp:-1:1
47
- data.properties(iProp) = docstring.metadata.property(object.PropertyList(iProp));
48
- end
49
47
 
50
48
  nameparts = split(object.Name, '.');
51
49
  data.constructor = any(strcmp(nameparts(end), [data.methods.name]));