mkdocstrings-matlab 0.8.1__tar.gz → 0.8.2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.github/workflows/release.yaml +2 -1
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/CHANGELOG.md +8 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/PKG-INFO +1 -1
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/configuration/headings.md +0 -7
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/pyproject.toml +1 -1
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/collect.py +7 -8
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.github/CODEOWNERS +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.github/workflows/docs.yaml +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.github/workflows/qualify.yaml +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.github/workflows/update-templates.yaml +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.gitignore +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.python-version +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.vscode/launch.json +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.vscode/settings.json +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/LICENSE +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/README.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/api.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/changelog.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/credits.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/debug.py +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/img/preview_dark.png +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/img/preview_light.png +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/index.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/license.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/logo.png +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/logo.svg +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/overrides/main.html +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/overrides/partials/toc-item.html +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+module/+submodule/Contents.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+module/+submodule/subfunction.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+module/aClass.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+module/do_something.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+module/module.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+module/readme.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mymembers/BaseClass.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mymembers/Contents.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mymembers/ThisClass.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mymembers/mymembers.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mymembers/this_function.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mynamespace/classA.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mynamespace/classB.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mynamespace/mynamespace.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mynamespace/readme.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mynamespace/typed_function.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+undocumented/ClassWithoutDocstring.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+undocumented/function_with_docstring.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+undocumented/function_without_docstring.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+undocumented/undocumented.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/Class.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/OtherClass.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/Thing.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/do_output.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/do_something.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/do_varargin.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/myClass.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/myParent.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/myfunction.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/print_hello.m +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/stylesheets/extra.css +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/configuration/docstrings.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/configuration/general.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/configuration/members.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/configuration/signatures.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/docstrings/google.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/docstrings/numpy.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/docstrings/sphinx.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/index.md +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/logo.svg +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/mkdocs.yml +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/renovate.json +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/requirements.lock +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/scripts/copy_and_update_python_templates.py +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/__init__.py +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/enums.py +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/handler.py +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/models.py +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/py.typed +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/children.html.jinja +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/docstring/namespaces.html.jinja +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/docstring/properties.html.jinja +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/folder.html.jinja +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/namespace.html.jinja +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/property.html.jinja +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/style.css +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/summary/namespaces.html.jinja +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/summary/properties.html.jinja +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/templates/material/summary.html.jinja +0 -0
- {mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/treesitter.py +0 -0
@@ -93,7 +93,7 @@ jobs:
|
|
93
93
|
concurrency:
|
94
94
|
group: gh-pages
|
95
95
|
cancel-in-progress: false
|
96
|
-
|
96
|
+
|
97
97
|
steps:
|
98
98
|
- name: checkout repository
|
99
99
|
uses: actions/checkout@v4
|
@@ -113,6 +113,7 @@ jobs:
|
|
113
113
|
run: |
|
114
114
|
git config --global user.name github-actions[bot]
|
115
115
|
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
|
116
|
+
git fetch origin gh-pages:gh-pages
|
116
117
|
|
117
118
|
- name: delete testing documentation
|
118
119
|
continue-on-error: true
|
@@ -1,6 +1,14 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
3
|
|
4
|
+
## v0.8.2 (2025-01-14)
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
- Allow mkdocs.yml in subdir ([#50](https://github.com/watermarkhu/mkdocstrings-matlab/pull/50),
|
9
|
+
[`8889349`](https://github.com/watermarkhu/mkdocstrings-matlab/commit/88893497c7e12fdc0bb6c00798d7ed3357a881f9))
|
10
|
+
|
11
|
+
|
4
12
|
## v0.8.1 (2025-01-14)
|
5
13
|
|
6
14
|
### Bug Fixes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/configuration/headings.md
RENAMED
@@ -530,7 +530,6 @@ See also [`show_symbol_type_toc`][show_symbol_type_toc].
|
|
530
530
|
|
531
531
|
```yaml title="in mkdocs.yml (global configuration)"
|
532
532
|
plugins:
|
533
|
-
- mkdocs-material-matlab # (1)
|
534
533
|
- mkdocstrings:
|
535
534
|
handlers:
|
536
535
|
matlab:
|
@@ -538,8 +537,6 @@ plugins:
|
|
538
537
|
show_symbol_type_heading: true
|
539
538
|
```
|
540
539
|
|
541
|
-
1. :warning: When using material theme, make sure to also enable the plugin `mkdocs-material-matlab` such that the right heading types are displayed. Otherwise, <code class="doc-symbol doc-symbol-attribute"></code> will be shown as `attr` and <code class="doc-symbol doc-symbol-module"></code> will be shown as `mod`, as the mkdocstrings-matlab plugin is reusing assets from mkdocstrings-python.
|
542
|
-
|
543
540
|
```md title="or in docs/some_page.md (local configuration)"
|
544
541
|
::: matlab_callable
|
545
542
|
options:
|
@@ -604,7 +601,6 @@ See also [`show_symbol_type_heading`][show_symbol_type_heading].
|
|
604
601
|
|
605
602
|
```yaml title="in mkdocs.yml (global configuration)"
|
606
603
|
plugins:
|
607
|
-
- mkdocs-material-matlab # (1)
|
608
604
|
- mkdocstrings:
|
609
605
|
handlers:
|
610
606
|
matlab:
|
@@ -612,9 +608,6 @@ plugins:
|
|
612
608
|
show_symbol_type_toc: true
|
613
609
|
```
|
614
610
|
|
615
|
-
1. :warning: When using material theme, make sure to also enable the plugin `mkdocs-material-matlab` such that the right heading types are displayed.
|
616
|
-
|
617
|
-
|
618
611
|
```md title="or in docs/some_page.md (local configuration)"
|
619
612
|
::: matlab_callable
|
620
613
|
options:
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/collect.py
RENAMED
@@ -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:
|
File without changes
|
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/.github/workflows/update-templates.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/overrides/partials/toc-item.html
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+module/+submodule/Contents.m
RENAMED
File without changes
|
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+module/do_something.m
RENAMED
File without changes
|
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mymembers/BaseClass.m
RENAMED
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mymembers/ThisClass.m
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mymembers/mymembers.md
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mymembers/this_function.m
RENAMED
File without changes
|
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mynamespace/mynamespace.md
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mynamespace/readme.md
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+mynamespace/typed_function.m
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/snippets/+undocumented/undocumented.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/configuration/docstrings.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/docs/usage/configuration/signatures.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/scripts/copy_and_update_python_templates.py
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/__init__.py
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/enums.py
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/handler.py
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/models.py
RENAMED
File without changes
|
{mkdocstrings_matlab-0.8.1 → mkdocstrings_matlab-0.8.2}/src/mkdocstrings_handlers/matlab/py.typed
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|