mkdocstrings-matlab 0.1.1__tar.gz → 0.1.2__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/PKG-INFO +1 -1
  2. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/pyproject.toml +1 -1
  3. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/argument.m +3 -3
  4. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/.gitignore +0 -0
  5. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/LICENSE +0 -0
  6. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/README.md +0 -0
  7. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/docs/index.md +0 -0
  8. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/mkdocs.yml +0 -0
  9. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/__init__.py +0 -0
  10. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/handler.py +0 -0
  11. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/builtin.m +0 -0
  12. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/class.m +0 -0
  13. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/func.m +0 -0
  14. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/method.m +0 -0
  15. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/namespace.m +0 -0
  16. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/class.m +0 -0
  17. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/func.m +0 -0
  18. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/namespace.m +0 -0
  19. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/property.m +0 -0
  20. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/script.m +0 -0
  21. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+utils/dedent.m +0 -0
  22. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+utils/get_namespace_path.m +0 -0
  23. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+utils/parse_doc.m +0 -0
  24. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/exception.m +0 -0
  25. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/+docstring/resolve.m +0 -0
  26. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/matlab/matlab_startup.m +0 -0
  27. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/models.py +0 -0
  28. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/src/mkdocstrings_handlers/matlab/py.typed +0 -0
  29. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/submodules/mkdocstrings-matlab-r2023b/.gitignore +0 -0
  30. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/submodules/mkdocstrings-matlab-r2023b/README.md +0 -0
  31. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/submodules/mkdocstrings-matlab-r2023b/pyproject.toml +0 -0
  32. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/submodules/mkdocstrings-matlab-r2023b/src/mkdocstrings_handlers/matlab_engine/__init__.py +0 -0
  33. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/submodules/mkdocstrings-matlab-r2024a/.gitignore +0 -0
  34. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/submodules/mkdocstrings-matlab-r2024a/README.md +0 -0
  35. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/submodules/mkdocstrings-matlab-r2024a/pyproject.toml +0 -0
  36. {mkdocstrings_matlab-0.1.1 → mkdocstrings_matlab-0.1.2}/submodules/mkdocstrings-matlab-r2024a/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.1.1
3
+ Version: 0.1.2
4
4
  Summary: Add your description here
5
5
  Author-email: Mark Hu <mark.hu@asml.com>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mkdocstrings-matlab"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "Add your description here"
5
5
  authors = [
6
6
  { name = "Mark Hu", email = "mark.hu@asml.com" }
@@ -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);