mkdocstrings-matlab 0.1.4__tar.gz → 0.1.5__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/PKG-INFO +2 -2
  2. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/pyproject.toml +2 -2
  3. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/handler.py +4 -1
  4. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/.gitignore +0 -0
  5. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/LICENSE +0 -0
  6. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/README.md +0 -0
  7. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/docs/index.md +0 -0
  8. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/mkdocs.yml +0 -0
  9. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/__init__.py +0 -0
  10. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/collections.py +0 -0
  11. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/builtin.m +0 -0
  12. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/class.m +0 -0
  13. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/func.m +0 -0
  14. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/method.m +0 -0
  15. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+case/namespace.m +0 -0
  16. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/argument.m +0 -0
  17. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/class.m +0 -0
  18. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/func.m +0 -0
  19. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/namespace.m +0 -0
  20. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/property.m +0 -0
  21. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+metadata/script.m +0 -0
  22. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+utils/dedent.m +0 -0
  23. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+utils/get_namespace_path.m +0 -0
  24. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/+utils/parse_doc.m +0 -0
  25. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/exception.m +0 -0
  26. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/+docstring/resolve.m +0 -0
  27. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/matlab/matlab_startup.m +0 -0
  28. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/models.py +0 -0
  29. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/parser.py +0 -0
  30. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/py.typed +0 -0
  31. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/src/mkdocstrings_handlers/matlab/resources/grammar.yml +0 -0
  32. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023a/.gitignore +0 -0
  33. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023a/LICENSE +0 -0
  34. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023a/README.md +0 -0
  35. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023a/pyproject.toml +0 -0
  36. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023a/src/mkdocstrings_handlers/matlab_engine/__init__.py +0 -0
  37. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023b/.gitignore +0 -0
  38. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023b/LICENSE +0 -0
  39. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023b/README.md +0 -0
  40. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023b/pyproject.toml +0 -0
  41. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2023b/src/mkdocstrings_handlers/matlab_engine/__init__.py +0 -0
  42. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2024a/.gitignore +0 -0
  43. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2024a/LICENSE +0 -0
  44. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2024a/README.md +0 -0
  45. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2024a/pyproject.toml +0 -0
  46. {mkdocstrings_matlab-0.1.4 → mkdocstrings_matlab-0.1.5}/submodules/mkdocstrings-matlab-r2024a/src/mkdocstrings_handlers/matlab_engine/__init__.py +0 -0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: mkdocstrings-matlab
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: Add your description here
5
- Author-email: Mark Hu <mark.hu@asml.com>
5
+ Author-email: Mark Hu <watermarkhu@gmail.com>
6
6
  License-File: LICENSE
7
7
  Requires-Dist: charset-normalizer>=3.3.2
8
8
  Requires-Dist: griffe>=1.2.0
@@ -1,9 +1,9 @@
1
1
  [project]
2
2
  name = "mkdocstrings-matlab"
3
- version = "0.1.4"
3
+ version = "0.1.5"
4
4
  description = "Add your description here"
5
5
  authors = [
6
- { name = "Mark Hu", email = "mark.hu@asml.com" }
6
+ { name = "Mark Hu", email = "watermarkhu@gmail.com" }
7
7
  ]
8
8
  dependencies = [
9
9
  "mkdocs>=1.6.0",
@@ -126,10 +126,13 @@ class MatlabHandler(BaseHandler):
126
126
 
127
127
  if paths is None:
128
128
  paths = ""
129
+ else:
130
+ config_path = Path(config_file_path).parent
131
+ full_paths = [str((config_path / path).resolve()) for path in paths]
129
132
 
130
133
  self.engine = MatlabEngine()
131
134
  self.engine.addpath(str(Path(__file__).parent / "matlab"))
132
- self.engine.matlab_startup(paths, startup_expression)
135
+ self.engine.matlab_startup(full_paths, startup_expression)
133
136
  self.models = ModelsCollection()
134
137
  self.lines = LinesCollection()
135
138
  self.parser = MatlabParser()