mkdocstrings-matlab 0.8.1__py3-none-any.whl → 0.8.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- mkdocstrings_handlers/matlab/collect.py +7 -8
- {mkdocstrings_matlab-0.8.1.dist-info → mkdocstrings_matlab-0.8.2.dist-info}/METADATA +1 -1
- {mkdocstrings_matlab-0.8.1.dist-info → mkdocstrings_matlab-0.8.2.dist-info}/RECORD +5 -5
- {mkdocstrings_matlab-0.8.1.dist-info → mkdocstrings_matlab-0.8.2.dist-info}/WHEEL +0 -0
- {mkdocstrings_matlab-0.8.1.dist-info → mkdocstrings_matlab-0.8.2.dist-info}/licenses/LICENSE +0 -0
@@ -152,7 +152,7 @@ class PathCollection(ModulesCollection):
|
|
152
152
|
self._mapping: dict[str, deque[Path]] = defaultdict(deque)
|
153
153
|
self._models: dict[Path, LazyModel] = {}
|
154
154
|
self._members: dict[Path, list[tuple[str, Path]]] = defaultdict(list)
|
155
|
-
self._folders: dict[
|
155
|
+
self._folders: dict[Path, LazyModel] = {}
|
156
156
|
self._config_path = config_path
|
157
157
|
|
158
158
|
self.config = config
|
@@ -198,12 +198,12 @@ class PathCollection(ModulesCollection):
|
|
198
198
|
elif self._config_path is not None and "/" in identifier:
|
199
199
|
absolute_path = (self._config_path / Path(identifier)).resolve()
|
200
200
|
if absolute_path.exists():
|
201
|
-
|
202
|
-
if
|
203
|
-
path, member =
|
201
|
+
|
202
|
+
if absolute_path.suffix:
|
203
|
+
path, member = absolute_path.parent, absolute_path.stem
|
204
204
|
else:
|
205
|
-
member = None
|
206
|
-
lazymodel = self._folders.get(
|
205
|
+
path, member = absolute_path, None
|
206
|
+
lazymodel = self._folders.get(path, None)
|
207
207
|
|
208
208
|
if lazymodel is not None:
|
209
209
|
model = lazymodel.model()
|
@@ -548,9 +548,8 @@ class PathCollection(ModulesCollection):
|
|
548
548
|
"@",
|
549
549
|
]:
|
550
550
|
if member.parent.is_relative_to(self._config_path):
|
551
|
-
relative_path = member.parent.relative_to(self._config_path)
|
552
551
|
if member.parent not in self._folders:
|
553
|
-
self._folders[
|
552
|
+
self._folders[member.parent] = LazyModel(
|
554
553
|
member.parent, self
|
555
554
|
)
|
556
555
|
else:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
mkdocstrings_handlers/matlab/__init__.py,sha256=w5R9cGtqeJF0GUP_Jc_ad8FnS4FpbutnmHvzVRlohPM,1124
|
2
|
-
mkdocstrings_handlers/matlab/collect.py,sha256=
|
2
|
+
mkdocstrings_handlers/matlab/collect.py,sha256=a2ZLBpSmkfwc7uG63dnV36Y7gvnrwvmFK7Gihggn2hc,29647
|
3
3
|
mkdocstrings_handlers/matlab/enums.py,sha256=lr3wLlhPxyBym3O7Rt0cLUZYqPCz6wQ2PYBibLKLTek,982
|
4
4
|
mkdocstrings_handlers/matlab/handler.py,sha256=kHyBrHTvZJBXVgondNcbjyeRna0pMmfCnIDVk7ru3oQ,19708
|
5
5
|
mkdocstrings_handlers/matlab/models.py,sha256=MqLZNL3um0yEeFSzv-xjzwjFpOyCdx7elyZ4X1ZV-yE,19228
|
@@ -15,7 +15,7 @@ mkdocstrings_handlers/matlab/templates/material/docstring/namespaces.html.jinja,
|
|
15
15
|
mkdocstrings_handlers/matlab/templates/material/docstring/properties.html.jinja,sha256=9ckdYymLlB5sflwYEaEPAQLJuVWF8nezMCV5JnanXVA,4165
|
16
16
|
mkdocstrings_handlers/matlab/templates/material/summary/namespaces.html.jinja,sha256=0vVlUB6oh-A7cpXbuDLOQLxTubyb_DisdOKm062WNMs,650
|
17
17
|
mkdocstrings_handlers/matlab/templates/material/summary/properties.html.jinja,sha256=nyPaELf9qPCxJQFxK1MWYK4fPwsk5VESh9xKHLtd-XE,643
|
18
|
-
mkdocstrings_matlab-0.8.
|
19
|
-
mkdocstrings_matlab-0.8.
|
20
|
-
mkdocstrings_matlab-0.8.
|
21
|
-
mkdocstrings_matlab-0.8.
|
18
|
+
mkdocstrings_matlab-0.8.2.dist-info/METADATA,sha256=HXy7oTcI9VTg2cvY-OduEv9ugM4wyqeobHEgVLkkC_s,4736
|
19
|
+
mkdocstrings_matlab-0.8.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
20
|
+
mkdocstrings_matlab-0.8.2.dist-info/licenses/LICENSE,sha256=TZQpwBuA3KLH56--XDAY2Qwo9gGdxeTITYhMOylmYhg,743
|
21
|
+
mkdocstrings_matlab-0.8.2.dist-info/RECORD,,
|
File without changes
|
{mkdocstrings_matlab-0.8.1.dist-info → mkdocstrings_matlab-0.8.2.dist-info}/licenses/LICENSE
RENAMED
File without changes
|