mkdocstrings-matlab 0.3.1__py3-none-any.whl → 0.3.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -200,7 +200,7 @@ class PathCollection(ModulesCollection):
200
200
  return model
201
201
  return None
202
202
 
203
- def update_model(self, model: MatlabMixin, config: Mapping):
203
+ def update_model(self, model: MatlabMixin, config: Mapping) -> MatlabMixin:
204
204
  """
205
205
  Update the given model based on the provided configuration.
206
206
 
@@ -21,7 +21,10 @@ class MatlabHandler(BaseHandler):
21
21
  """Whether this handler is interested in enabling the creation of the `objects.inv` Sphinx inventory file."""
22
22
  fallback_theme = "material"
23
23
  """The fallback theme."""
24
- fallback_config: ClassVar[dict] = {"fallback": True}
24
+ fallback_config: ClassVar[dict] = {
25
+ "fallback": True,
26
+ "merge_constructor_into_class": True,
27
+ }
25
28
  """The configuration used to collect item during autorefs fallback."""
26
29
  default_config: ClassVar[dict] = {
27
30
  # General options
@@ -51,7 +54,7 @@ class MatlabHandler(BaseHandler):
51
54
  "docstring_options": {},
52
55
  "docstring_section_style": "table",
53
56
  "create_from_argument_blocks": False,
54
- "merge_constructor_into_class": False,
57
+ "merge_constructor_into_class": True,
55
58
  "show_if_no_docstring": False,
56
59
  "show_docstring_attributes": True,
57
60
  "show_docstring_functions": True,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mkdocstrings-matlab
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: A MATLAB handler for mkdocstrings
5
5
  Author-email: Mark Hu <watermarkhu@gmail.com>
6
6
  License: ISC
@@ -2,14 +2,14 @@ mkdocs_material_matlab/__init__.py,sha256=9pmrwWbkIyr0T7qvADbsz3OR5bB3rWb231e6JS
2
2
  mkdocs_material_matlab/mkdocs_material_matlab.py,sha256=s7vI1lv6hD8s7kDHWBfYKgN6EcldyUstGYJ45sA-VWY,850
3
3
  mkdocs_material_matlab/css/style.css,sha256=iVTPIKljgvK899jEQylD7yu9yjKfrVE_4GLaITjhk4g,132
4
4
  mkdocstrings_handlers/matlab/__init__.py,sha256=laA2bEP5rxdIWBLmfLiKKu7ChZ_HzCe-VeRvxmUTqww,128
5
- mkdocstrings_handlers/matlab/collect.py,sha256=2dqYIQP7S8kHShH8o0cVFkIgTHL8EAoTV7OmtA4NnEs,23020
5
+ mkdocstrings_handlers/matlab/collect.py,sha256=9DKuE5Q6kXcNm6coQZnmtTNRzMNIeILlljMd1GgVEKk,23035
6
6
  mkdocstrings_handlers/matlab/enums.py,sha256=lr3wLlhPxyBym3O7Rt0cLUZYqPCz6wQ2PYBibLKLTek,982
7
- mkdocstrings_handlers/matlab/handler.py,sha256=w_k3jBaBwv3CYxGOg6cELHE1Z8p-nmxPEk-201tjLtE,15367
7
+ mkdocstrings_handlers/matlab/handler.py,sha256=KmQuCuaoS-K8HR2peS4LfvBUaJT4a8-428-3ZiHRdYY,15427
8
8
  mkdocstrings_handlers/matlab/models.py,sha256=y4ozShL4edxKKgb6jqBAfSI8Z9MEygSbEDnTDfBnRtk,17513
9
9
  mkdocstrings_handlers/matlab/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  mkdocstrings_handlers/matlab/treesitter.py,sha256=dW4RcSep4A0L505WbAE9PGL2sTqizX7nhXLwQqbJh8Y,21726
11
- mkdocstrings_matlab-0.3.1.dist-info/METADATA,sha256=R43NGKuEohkr8gSC5bXCW_CEt7ULYTx-yij9DPEQBUo,4097
12
- mkdocstrings_matlab-0.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
- mkdocstrings_matlab-0.3.1.dist-info/entry_points.txt,sha256=qUZFuB2TKh7KPlg4dR2npfbNgNExw6O6j1vF276PtPw,92
14
- mkdocstrings_matlab-0.3.1.dist-info/licenses/LICENSE,sha256=z5Ee0lckFL6K9LhLKftDu0JDl2Uie24Po20IclVk2SI,743
15
- mkdocstrings_matlab-0.3.1.dist-info/RECORD,,
11
+ mkdocstrings_matlab-0.3.2.dist-info/METADATA,sha256=c1mVS2_ocxD-sPdaTEWYauALHXUHoF1qVtnxdLl1k0M,4097
12
+ mkdocstrings_matlab-0.3.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
+ mkdocstrings_matlab-0.3.2.dist-info/entry_points.txt,sha256=qUZFuB2TKh7KPlg4dR2npfbNgNExw6O6j1vF276PtPw,92
14
+ mkdocstrings_matlab-0.3.2.dist-info/licenses/LICENSE,sha256=z5Ee0lckFL6K9LhLKftDu0JDl2Uie24Po20IclVk2SI,743
15
+ mkdocstrings_matlab-0.3.2.dist-info/RECORD,,