mkdocstrings-matlab 2.1.2__tar.gz → 2.2.0__tar.gz
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.
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/.github/CONTRIBUTING.md +1 -1
- mkdocstrings_matlab-2.2.0/.github/workflows/dev-branch.yaml +76 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/.github/workflows/docs.yaml +1 -1
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/.github/workflows/qualify.yaml +2 -2
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/.github/workflows/release.yaml +1 -1
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/.gitignore +0 -1
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/PKG-INFO +10 -8
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/index.md +1 -9
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/stylesheets/extra.css +12 -1
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/index.md +2 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/pyproject.toml +24 -26
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/config.py +5 -12
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/handler.py +2 -0
- mkdocstrings_matlab-2.2.0/src/mkdocstrings_handlers/matlab/highlighting.py +152 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/rendering.py +41 -1
- mkdocstrings_matlab-2.2.0/test/fixture/+recursiveNamespace/+nested/helper.m +6 -0
- mkdocstrings_matlab-2.2.0/test/fixture/+recursiveNamespace/doIt.m +3 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/__init__.py +53 -53
- mkdocstrings_matlab-2.2.0/test/snapshots/__inline_snapshot__/__init__/__module__/0e1d2560-893a-43bc-9e57-8ec5ea06dea6.html +302 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/__inline_snapshot__/__init__/__module__/278459f0-9945-4aca-a1c1-79b9f60d29f4.html +250 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/__inline_snapshot__/__init__/__module__/4a320e96-2c72-493d-b732-3d61fdd17147.html +302 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/__inline_snapshot__/__init__/__module__/6ce45521-d390-42e3-96e8-44f5b7bbfec2.html +250 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/__inline_snapshot__/__init__/__module__/88fe1e77-044e-434d-8ae0-db762679d09d.html +250 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/__inline_snapshot__/__init__/__module__/a3e41621-ad9d-4e37-85c4-797f8d700df4.html +302 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/__inline_snapshot__/__init__/__module__/b565ba9c-dfec-4dcc-b63c-7d04013c8408.html +250 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/053429d8915847a8e9a6ce8cebcb8144fe2dc5d6fe75f3cd1ba341ab48234b3c.html +302 -0
- mkdocstrings_matlab-2.1.2/test/snapshots/external/2dec9ad9ccd99ab764034edc8d9864a5f5c55d97695b6cd95da69aac409afc68.html → mkdocstrings_matlab-2.2.0/test/snapshots/external/060c82061754f7adec85cf9248447c56cd70d34c5725e4ad596a6f99296a5143.html +4 -3
- mkdocstrings_matlab-2.2.0/test/snapshots/external/1c56163e3277efbb3345d1216428d0a6cb712460647521d420197d65ec084e18.html +216 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/2bb13d44f2d275ec291f2d25014a300e23eeafdfe7e805ef9e86731cb429605c.html +75 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/2bdff1db236429b68ec7d6cc618c1107fbc79ea2d1efa5d5a8ed7bcb639aaa42.html +148 -0
- mkdocstrings_matlab-2.1.2/test/snapshots/external/04b032ce769d60ded25363797b4ff13b11234ab177cb6af364f26d09e5d77fcd.html → mkdocstrings_matlab-2.2.0/test/snapshots/external/394b9f67b66b79e55e3e4a05e0abd00d32e3bdfc88b12321f68579aac0294891.html +4 -3
- mkdocstrings_matlab-2.2.0/test/snapshots/external/41c8b32f285b59435b4fc9c6d81a11ac2250ebc603d48fc5bc2f62dc54d67abd.html +75 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/43dc7cbecc65ba92df6d3e1a65e40b29fa35da8e9422df6b8a47ba21c69b19e4.html +257 -0
- mkdocstrings_matlab-2.1.2/test/snapshots/external/60f32a129c3f96b3eae0645c46c1e22eda595dd0bd7e912acbf4c77a119024e2.html → mkdocstrings_matlab-2.2.0/test/snapshots/external/4bf1de62959953cdcfd8072d32be4eda6f6287758e2fb837255f10dad339bea8.html +35 -5
- mkdocstrings_matlab-2.1.2/test/snapshots/external/45b2feb7ffc1eeb8b192e3c3af497ada25a2db60fbbed4d5466bc2f0ce11767f.html → mkdocstrings_matlab-2.2.0/test/snapshots/external/5bf0468411d2bb8728fcc05f4226553c4534ace7a13acc3d8b535571cdfffe15.html +4 -3
- mkdocstrings_matlab-2.2.0/test/snapshots/external/6f2137b9ad184ece844005132168ef878f5619b2cc716eacdfa0e63f59609375.html +135 -0
- mkdocstrings_matlab-2.1.2/test/snapshots/external/7dfe15f2fd74c2ce70df12d442de782f203728349f1d5d6f129c394dd19b05e8.html → mkdocstrings_matlab-2.2.0/test/snapshots/external/71ea20e9fc7c25097e0f5e78774bd8cfcd2cebb8aa5b6a35d78aa75e84e7ba11.html +35 -5
- mkdocstrings_matlab-2.2.0/test/snapshots/external/72504518c5329887fbc29e7b2bf860e3ffa5e78f2df8463c342a5f67dfb6897e.html +75 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/75cc9eca631bf74e38cf1485b7bd40dec4e29851b678f1e878aa9f2c865b7573.html +302 -0
- mkdocstrings_matlab-2.1.2/test/snapshots/external/aa5ac519d46fde75c0025288b1d0d027ff3ede0bc250392640139a254e7106dc.html → mkdocstrings_matlab-2.2.0/test/snapshots/external/77e453a502c2a944f2263cd34d650dddc06c1674b213ee5d98605a7a7e7b70e3.html +35 -5
- mkdocstrings_matlab-2.2.0/test/snapshots/external/782480b1cd02e4d3d14c56a7aad8fc7106fea7e2bf5a9a03d9f619d95e4bf457.html +75 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/95229dccd1381848621c7f7b22625c96a18f51f78f1686e73f5156a5502d14a2.html +75 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/b5abfe8044ccc10ff96397baf86c134d05af59cd1737eafa4d3370d9000135d7.html +242 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/bdcd35201ca8a8706269865f754ebd673623354cf886b1c8260c3444e94c58fb.html +75 -0
- mkdocstrings_matlab-2.1.2/test/snapshots/external/37ded686118e86c7720363d2f7a1dadf5c56b4db2d7cd4e0a4e56d7bee887f78.html → mkdocstrings_matlab-2.2.0/test/snapshots/external/bfd68cee0e9296f0b9bfedef3ce5c6c2d09954e25270d725beed1fba25891b0f.html +4 -3
- mkdocstrings_matlab-2.2.0/test/snapshots/external/c0dfd29713ed3d83a953900948aa1b3a43956449fe2f2cb9980cf8be3788b3c3.html +269 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/c6b58a620bdaf33a147652c526f28b9e6ae5366c828104586de4880bd4506ad9.html +302 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/c6fc804d12cd2072d783cb5091d6fa2fc2822042aaa32c2cbea223eb7226e947.html +208 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/c7ed3284d6298a639609e0c7e0cb76170bd67bd0a9b0ab4f42a63e8bdf074f4f.html +216 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/cb1da721afb054283f6d658df0c89cae457e12e490320f749bd6727332f2e601.html +302 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/cc35a213cd17ae725b4f20f9cbfea618170ec7ab3477e33eef5d74798b437d22.html +169 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/d4800ac98a81db0eeb42f326638f614f48fea1ba7d01857316759c986c730f8f.html +302 -0
- mkdocstrings_matlab-2.1.2/test/snapshots/external/96a12ab150b18fc394238660d510059a938da727ed8ec77da49e0f6d3ada96c8.html → mkdocstrings_matlab-2.2.0/test/snapshots/external/d8f6343d27de8712e04917c28ce7edeb46db6ef23131e19de374399c989a7102.html +35 -5
- mkdocstrings_matlab-2.2.0/test/snapshots/external/e050e727303006521008882dc2c92b07aa7b139361d54d1175e09b60f81fa0d1.html +75 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/eac5703b19c0c0a81481ad4e0e00c4905d2f52d444d4a8d4326e4eef334f1a26.html +269 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/f6c6d9263e1c06a46f92959e50eebb8c188f167a2723d41c221de51b064af93b.html +257 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/fbdb38ecf7b1f563a6b532b5a5a8e01ebfa86720eca6d3135a6146256199a7a6.html +302 -0
- mkdocstrings_matlab-2.2.0/test/snapshots/external/ff57d45ed3b92828763d06b21674745185ff1b8f18aaeaaf6352ad060842b765.html +229 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/test_end_to_end.py +49 -0
- mkdocstrings_matlab-2.2.0/test/test_highlighting.py +104 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/test_rendering.py +81 -1
- mkdocstrings_matlab-2.2.0/uv.lock +1734 -0
- mkdocstrings_matlab-2.1.2/test/snapshots/external/0ff0c6a91b4db0f807d50eeae8122934c42535120f52e16605d77ec8da6617e2.html +0 -74
- mkdocstrings_matlab-2.1.2/test/snapshots/external/16c98a39c8e36cedbaa5a2dabf5f2fd85a147a677dcfe6e3b4881035133f273e.html +0 -134
- mkdocstrings_matlab-2.1.2/test/snapshots/external/1b18af6fbb5dbba50bd00ceda93037d442418bd7b53f49781c46dca738863764.html +0 -215
- mkdocstrings_matlab-2.1.2/test/snapshots/external/1ea43f2df76d76edf4e0fa4a58a13569992175178c89e589cdecb8945a7f2f73.html +0 -301
- mkdocstrings_matlab-2.1.2/test/snapshots/external/2edd56b7576d70af5351de9a19c3a2229e7d8e4cd6b54a5cb63abe78085c8f53.html +0 -301
- mkdocstrings_matlab-2.1.2/test/snapshots/external/3307c670266ed2b855317aa5b0643fdb198d2b840d90eb4aefd534930a87a6ed.html +0 -74
- mkdocstrings_matlab-2.1.2/test/snapshots/external/368f6d810e7341e6eba76e835cc73b55df930825525e658c4f56f9d83a0f53ce.html +0 -74
- mkdocstrings_matlab-2.1.2/test/snapshots/external/38349afd485e12ac7a339bbc03a035f779a0eb202dab95d7d75ab65d42660a3d.html +0 -249
- mkdocstrings_matlab-2.1.2/test/snapshots/external/38c328a8d47b8acdb07d2d7411c5aa30fcc7fb7d774a100a2d1e36587d23557e.html +0 -168
- mkdocstrings_matlab-2.1.2/test/snapshots/external/3935b37799049ae2862cd4f9ddf25183cfeb33613dd85938d18f8af3ccbf05f9.html +0 -256
- mkdocstrings_matlab-2.1.2/test/snapshots/external/3a3b73b4fa1038fb64e8e938790554bcd9f263e387e5afe8fb1debb3eccb9425.html +0 -249
- mkdocstrings_matlab-2.1.2/test/snapshots/external/53f388f803cc3a0860d5a73127df1295b6d97f958f9bc890aaee0b9a5f1ca3c6.html +0 -301
- mkdocstrings_matlab-2.1.2/test/snapshots/external/5958a350dfbc63d6bb36da030bb2ebad55fab33d3da698dae588e6857551939a.html +0 -74
- mkdocstrings_matlab-2.1.2/test/snapshots/external/5ef4a55b645c1d51eb06811aaced8c0f216ac90e9e71dd6c0846c53414992687.html +0 -74
- mkdocstrings_matlab-2.1.2/test/snapshots/external/66391630c6f430071cd00ddabf23501f24077c00423811091b5cc2ca40096e02.html +0 -147
- mkdocstrings_matlab-2.1.2/test/snapshots/external/67e633fdc5fd062bc5b95f022f3792086eccd13ed7f121bb8238caeac12dc66d.html +0 -301
- mkdocstrings_matlab-2.1.2/test/snapshots/external/67ffdd88d1c249fae0e47b1985702d1a7900dbd6072015345133e9267ee969b7.html +0 -268
- mkdocstrings_matlab-2.1.2/test/snapshots/external/6b5176c79aca96d32f6c337e3ffb26072410568edf0b132208c8bfa9c8af5569.html +0 -249
- mkdocstrings_matlab-2.1.2/test/snapshots/external/7a2a67fdcde4fe2c4323547a989de7f1737708cd8c8bbdb2c453aaa82411756c.html +0 -228
- mkdocstrings_matlab-2.1.2/test/snapshots/external/8cc61621b351df62a1fb8038d7cebd4aafb202bcd36c223b307eeb0362d712a9.html +0 -215
- mkdocstrings_matlab-2.1.2/test/snapshots/external/91d51653b7508b8b023d98003e65f6d5bc00f1344aaad5fe20e9c713e37b2eec.html +0 -301
- mkdocstrings_matlab-2.1.2/test/snapshots/external/931dd0e2f36d987f73522b6f5ddae8cdd207a272ba5ec8f4038879560057286d.html +0 -301
- mkdocstrings_matlab-2.1.2/test/snapshots/external/9a4dd0c2e04aa9207777f4b294246ae96bb9ea911e3c689b0f481c7d8949321b.html +0 -241
- mkdocstrings_matlab-2.1.2/test/snapshots/external/9eea5cee31dee1a29e7b4eb2081963c613aca8475915bec6a27f50bacc493fb2.html +0 -207
- mkdocstrings_matlab-2.1.2/test/snapshots/external/a534e2d7452cc3090b5f1d916ddede9535e4f7bcf60571150162eefd5d6a67fb.html +0 -301
- mkdocstrings_matlab-2.1.2/test/snapshots/external/b80bae05c4af7796cb702ceb61a485048aabb2da68ea34870041b58b38e30b59.html +0 -268
- mkdocstrings_matlab-2.1.2/test/snapshots/external/ba986803c9e1967a091f0d4f7a27438f0787232ed7a29eceda5aa0f9339bf5c2.html +0 -74
- mkdocstrings_matlab-2.1.2/test/snapshots/external/bfe8b203819c24159fcdff05760a1fc72806608a21591ffcfd460416f1379282.html +0 -301
- mkdocstrings_matlab-2.1.2/test/snapshots/external/c26918db1e083fdde7ea5b6a224f54613061774f9b4c27df7f7b0fbf48ca9dec.html +0 -249
- mkdocstrings_matlab-2.1.2/test/snapshots/external/ca187a0f64e01c62dc886553af501c46f5775745f61e8d971edf718f4c2338a9.html +0 -301
- mkdocstrings_matlab-2.1.2/test/snapshots/external/e5253214f3b19e86713553dff359e350561b9e89cec80db6a8a9a7f6ba10c8cb.html +0 -256
- mkdocstrings_matlab-2.1.2/test/snapshots/external/f5a8a9d05580b087ccdffbd2c287a27e97df5cc5a7b98082d38fb3a406481597.html +0 -74
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/.github/CODEOWNERS +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/.github/FUNDING.yml +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/.github/renovate.json5 +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/.rumdl.toml +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/LICENSE +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/README.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/debug.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/api.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/contributing.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/credits.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/debug.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/favicon.png +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/license-page.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/logo.png +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/overrides/main.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/overrides/partials/toc-item.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+module/+submodule/Contents.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+module/+submodule/subfunction.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+module/aClass.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+module/do_something.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+module/module.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+module/readme.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mymembers/BaseClass.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mymembers/Contents.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mymembers/ThisClass.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mymembers/mymembers.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mymembers/this_function.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mynamespace/classA.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mynamespace/classB.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mynamespace/mynamespace.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mynamespace/myscript.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mynamespace/readme.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mynamespace/typed_class_property.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+mynamespace/typed_function.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+undocumented/ClassWithoutDocstring.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+undocumented/function_with_docstring.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+undocumented/function_without_docstring.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/+undocumented/undocumented.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/Class.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/OtherClass.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/Thing.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/do_output.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/do_something.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/do_varargin.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/myClass.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/myParent.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/myfunction.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/print_hello.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/subdir/Contents.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/subdir/subsubdir/README.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/src/snippets/subdir/subsubdir/nested.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/configuration/docstrings.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/configuration/general.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/configuration/headings.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/configuration/members.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/configuration/signatures.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/docstrings/google.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/docstrings/numpy.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/docstrings/sphinx.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/docs/usage/global.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/logo.png +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/mkdocs.yml +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/prek.toml +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/__init__.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/py.typed +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/attributes.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/backlinks.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/children.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/class.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring/admonition.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring/classes.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring/examples.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring/functions.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring/input_arguments.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring/name_value_arguments.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring/namespaces.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring/output_arguments.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring/properties.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/docstring.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/expression.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/folder.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/function.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/language.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/languages/en.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/languages/ja.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/languages/zh.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/namespace.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/property.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/script.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/signature.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/style.css +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/summary/classes.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/summary/functions.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/summary/namespaces.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/summary/properties.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/templates/material/summary.html.jinja +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/__init__.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/conftest.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/docs/.gitkeep +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/+moduleNamespace/+internal/hidden_function.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/+moduleNamespace/Contents.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/+moduleNamespace/namespaceClass.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/+moduleNamespace/namespace_function.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/@classFolder/classFolder.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/@classFolder/method.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/@classFolder/readme.md +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/class_property.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/forced_docstring.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/moduleClass.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/module_arguments.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/module_function.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/private/private_function.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/fixture/subClass.m +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/helpers.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/.gitignore +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/0113373833f7ae4159513dfa1df71c9bbc70ef9075b82cc724fe38f762930b01.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/01ca7e807eab40f9b593ae59c8d2b7265f354b82e9882cf36e8cb9a33ea0c5d3.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/0d03d2fd7958cb2362ce042bb599d7836be756e52d700c7fb5b5860d8a5f2857.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/0dc4897f65cf3ad9d09efdd62887e6216d6c644a1bc155ebc90b10ec8c9bf199.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/0f17233207bf629c41ad74ae2cf33f1c9e4ce193a01bd883b2c6e6c1b0d06d52.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/14375fc2155081fc0fdc83ab40b4547aed9bb9e41fe7148f29c1cc0516736449.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/1467747d65f31dba9f3c05fffab31d6453bc934801613ffc07ffef11b3d29f3d.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/15e3200b589c43b9775ed6d66e644c79c4b1506f90b5b6f1ce4847f2542f898e.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/16747e11c170624c5d2c4333e677390d7bd259d39a3dd47aff05ed9e714f86cb.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/18cf87b261c0f060569498e06395603c85cc45664bfe21dd8e944d3cba6485cd.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/1ddca1666155397314abf6f06919a7349182859c9eb458f0f83a463f863fe901.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/1e0705cd6b2a3a180c5461733c4b156dc4a23672656c6eecc1fc13fc230c54c6.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/1ea600ce2fa18c0c15248f9026037b02fa132f36081bfbad0ab70ff521d98449.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/1f4d5eacc78f3936fd4738808c0a7af475539ae32f3bb695838b07ccb436ca7d.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/280e624c7a5c7978e726c5d2c94d3aa705a745d299274091050a8deac2e482c1.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/28d3b688c6030da33067d0eae8a2ca0665807cddb5a520a104fbf3b75f68ab2b.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/2947fe8a21dbfd6d351f8553bb629b3a85572ce39af63b48cf360b2e4341ad41.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/2b014ab43c8796cbb2b4ab46848a8d77d04b6e4f2884f2873b7e9019f64585fc.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/2be6e2739d8d93234d8e6f008a5f6abf91980eb80b97ce38587ccabf1592da5f.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/2bf2b59832bb76db239baf470d2ef9b133bdbe9c5a80a64ddeaaaf7731395a69.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/2cb6f36cfecd9b28823affb4f2d97dc12db60ca9fe364f035892862896dd1f8d.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/32281dd57f021e2618feead3439c73fcfb9cac29dd16b05d21f75889cfa5a8bf.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/3d399be45fe4a886065ff799582da58044adb732c0e8dddf5717bf7c082903c9.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/494935f3f4ff019b5d069cbada13bf19961792d368436fed06507112fb9d7973.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/4d21c060520b1dca536772449ef3aa9207466e981a5ec06ea245cdc0ec2dd469.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/4fc866308f8bb2788845391857af88e8de14e32369b1d9195ec14807fd63c909.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/510cec1edd589e57b603a4272aa9746e2ce9ea695cbaeab2d5c0b6916d96df26.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/54d97c82cd988fcbe05cee31e67aa102ada34a9512c3e1ac387fc90b0c774c17.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/568c966787a03fb6c613c965b40b19765ec29b5278d4516151a77ac89129018e.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/56d44149e87990cadcfb34971a0b4a8edf03aed77f3e1dd1bbc127fa4cdcc018.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/58231283a21b6e91f24da36f96734a8837d15de724d7a3a3d513e2d1da75fb71.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/59864ded4f860613a523d3551eb53481c0d6fce02add797aecdeb59332009a74.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/5c46f46252e44c72c52d7a9112c50db70c899a5b0fd8cd45a767b6817c42e16a.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/5dcc553300dd89d50f529528ce5ad572123de9d774dafe3887891523d026ba05.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/5e4aabb64b6b5bb1212409e6b0a9abdaa951f447dbd28fcb967ee18b8f5259a2.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/61dc29181a6246e0748ea1e9d081a51b233672fc158c528b7b10111cd3bead71.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/6225737a62d7edf781ba684b15fe7b273a9e7ee7ecc2733b3d54eb02979086fb.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/6340ad77d61acadbe4b13c250e2bf0327f8b2a0a388ea196596fde33d1470941.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/65a020088c6492b445c0cd7be6b6837581680d9d99d12225cb8e6a8bd042a65e.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/678233da351b00ae82acb3d31456581595679c49b33d5166db5ec84b0bd80e68.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/69a8fb86a5a0915046b5041aa00a4c056adce9c89be38a107dbc0ed71626376a.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/6fe7ef6969cc73c437718c7a2c1ff221ba7971febcea9215835153ef26211b26.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/70ab3907fed1e31504810cccb8896d7365a0b91d385e13e14f2334e8882747e9.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/7130f7ac88bea463f92cd906e7a86637182affbc4c4afbf64d8b56b5e4f4e675.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/73f9d2b8adc9d9a8c3e4cc5f677d060c10f0468d3cf3628e73443939f0c732ed.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/7589cda3f7292466252ef8f5a337d2d4e1903d49f78ecd5f0c9cf1025a97cbcb.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/75ad88fd5e72327cb28027b7d164efc2e399469f2213226b6766c7efaafb8842.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/7a2d79298680a15e31f5aece6b3381a4d468b63585bd465066a83602cdcf6414.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/7a881f20f14c5b9e2209fa65aa83b4d289d54ce54d868e547e30d33751bf0ae6.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/7f035d40c198a273da851a00db129f9ddba503f1903f26b06c35cc1406b99091.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/80a90ec7091286dd3dfa53af8ec9e01e7621bce8b7b8bdd2fa0b7eba0395d861.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/81306c9d9550c48b153581b06ba244614a6f71bb88f86d434ae11e711acc7239.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/81ddc08441fb3b595ad7e7432cfdd7f22d1a845ecaa83a92365861a9437e7889.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/8aeecc7e575cc87bbd38c31dfc434eae3b909d57591e1cc8ed42e4ad41580db5.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/902d6ee7213689dd9e5d3b8d02c6b88dd8ce983ffeb35ff35dfc9502ac334494.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/92b0fb53d6709aa5d03ac5e52ec2ffd72beb800b477ef5bd00f99b0bf42cdacc.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/93031b69f5376fe15fc40f23b5b6b96bdb1eb90865bd011b753907701d8fe85b.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/935e0403546446187fff8e2123c8176774d7574744e1fbca3018ff96c5382601.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/97ab1c5513facee5191c1cbb0ca7b59e78731d43e309a4a3f0944ea4125b0e21.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/9bdbcd111c2cbc8e5784a5f2ee87280b90c6ef0719310adffc8e9b789e30bc70.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/9ee768f85eab2401837ff3e774dd4735ab445c1b1eb8dd9e7bb16523f519b312.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/a43048052005b3d94d68808d61b78b27c3880f937dde2aa91d379e28712dbd6a.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/aa7d5b7fec2d129bb01ed89046e3e2407c41d44eceefacce091dfd1f19dbff47.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/abc017eefa9d8b2d156af6d516b739206bd5e4344d5edf905cf9337d96cfba2b.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/abe379fb91f0b9e47a3cbe3666a7454760db5fa6315892f246a548fc7c341566.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/acc894b5bfdf4781f25cafe408161b211039453fe003c9c59a1f79b0792ec9cf.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/b3137443bca9ed66d920e6f03733100515badc2dd58c3a2716ffe03b57127135.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/b360046d413f370560fe1b00820fdff478e8a2a6b04d790307e70417be65642d.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/b42f328b72ea25f102fcb55aea92ef17ccc141634ef8f8b0589d61a8f9705f6f.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/b8a649a0b6546f9fdef2246efa40e7e09b7a746f4d334c4d45a2f8e65452b567.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/bbd65348654343e84195f6989383e353add0433c59dc6cbc7320e877fde870a1.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/bc31b4ef3ece371662b08a08550b8616d28ef72b7c90d5140bee0f958671f351.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/bc5594bd8f7cc725bf0fa0e5fe518c934c77f76dffa8be532c1666831fda2150.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/bcbbdfbe7a0fe5879730f4bf35c9280a42b2c46d539c77b74bfb6fc13fe57ba9.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/c0e27b1c2fd2aa14da003992b580eeab08e6b177fcb198a0f5a07ee07786d6e8.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/c0f8336de59689cdd760a63b590a1b697f201292390c1ef0dd458db089ef0d89.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/c3f4d95bee252c789fd20edee59c72946a73d6c38af31d6160ecd41c2a88bfc9.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/cd717d1020d418a13ce24e76d9b69144c9685e0cdddf1670bfa4c9351497c973.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/cd9476a4d9e90bf39388038903ee5c1637ae11ac1091c1ef24e46368a9827d69.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/cf1a3f1181ca0e5684a78f9fbb57d955474d4459065049c8215480f49d2c9d6b.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/d33960f666c96bfa735026ae76717e35fbd07a01a234760cae076f9522bd8eee.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/d3f96b8d107b5fcad4d5db82a7571b2f2362dcebff9c33bf75becfbf6986726c.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/da2df1c0e3d9153d066ffeaea8efaba94b105a9867bbaaefe4033b118928a401.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/da803de751498bd523425e9a9c9777b227c3cca47ec613382b909452113f2664.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/e6cbaad043a264b684d67fab03a8768220122dc785f377d94392149dd3b3749a.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/e97601b5c8d9c4bb233b5aa2d45e4b83135aec6cf44f20f920433c1aaf5f7008.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/eff17893c2f4e2c4b3ab1f234b920d38b0788681f98abd8c1d11d525e48b0077.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/f231cf0535e4d70669e6d125f4f8416cf4c39161d7ce10c420868ea93153f56e.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/snapshots/external/f55d6bb2445a1650f841f5d72bcba0d954096c75baa3e8c2b21e2dcf6ad43d58.html +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/test_config.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/test_handler.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/test_handler_additional.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/test_init.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/test_rendering_additional.py +0 -0
- {mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/test/test_rendering_advanced.py +0 -0
|
@@ -34,7 +34,7 @@ See: [pytest documentation](https://docs.pytest.org/en/stable/)
|
|
|
34
34
|
|
|
35
35
|
## 4. Pull Request Guidelines
|
|
36
36
|
|
|
37
|
-
- Pull requests should target the `
|
|
37
|
+
- Pull requests should target the `dev` branch.
|
|
38
38
|
- Use [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for commit messages.
|
|
39
39
|
|
|
40
40
|
See: [Conventional Commits Spec](https://www.conventionalcommits.org/en/v1.0.0/)
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
name: Dev branch
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
# Manually (re)bootstrap the dev branch.
|
|
5
|
+
workflow_dispatch:
|
|
6
|
+
# Recreate dev once its pull request into main has been merged.
|
|
7
|
+
pull_request:
|
|
8
|
+
types: [closed]
|
|
9
|
+
branches: [main]
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
pull-requests: write
|
|
14
|
+
|
|
15
|
+
concurrency:
|
|
16
|
+
group: ${{ github.workflow }}
|
|
17
|
+
cancel-in-progress: false
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
sync-dev:
|
|
21
|
+
name: Recreate dev branch and draft pull request
|
|
22
|
+
# Run on manual dispatch, or when a dev -> main pull request was merged.
|
|
23
|
+
if: >-
|
|
24
|
+
github.event_name == 'workflow_dispatch' ||
|
|
25
|
+
(github.event.pull_request.merged == true &&
|
|
26
|
+
github.event.pull_request.head.ref == 'dev')
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
steps:
|
|
29
|
+
- name: Checkout main
|
|
30
|
+
uses: actions/checkout@v7
|
|
31
|
+
with:
|
|
32
|
+
ref: main
|
|
33
|
+
fetch-depth: 0
|
|
34
|
+
|
|
35
|
+
- name: Recreate dev from main
|
|
36
|
+
run: |
|
|
37
|
+
git config user.name "github-actions[bot]"
|
|
38
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
39
|
+
|
|
40
|
+
# Ensure the old dev branch is gone (it may already be
|
|
41
|
+
# auto-deleted by GitHub when the pull request was merged).
|
|
42
|
+
git push origin --delete dev || echo "dev branch already deleted."
|
|
43
|
+
|
|
44
|
+
# Start a fresh dev branch from main. The empty commit makes dev
|
|
45
|
+
# diverge from main so a pull request can be opened immediately.
|
|
46
|
+
git checkout -B dev origin/main
|
|
47
|
+
git commit --allow-empty -m "chore: bootstrap dev branch"
|
|
48
|
+
git push --force origin dev
|
|
49
|
+
|
|
50
|
+
- name: Create draft pull request
|
|
51
|
+
env:
|
|
52
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
53
|
+
run: |
|
|
54
|
+
open_prs=$(gh pr list --base main --head dev --state open --json number --jq 'length')
|
|
55
|
+
if [ "$open_prs" -gt 0 ]; then
|
|
56
|
+
echo "An open dev -> main pull request already exists; skipping creation."
|
|
57
|
+
exit 0
|
|
58
|
+
fi
|
|
59
|
+
|
|
60
|
+
gh pr create \
|
|
61
|
+
--base main \
|
|
62
|
+
--head dev \
|
|
63
|
+
--draft \
|
|
64
|
+
--title "chore: merge dev into main" \
|
|
65
|
+
--body "$(cat <<'EOF'
|
|
66
|
+
This is the rolling pull request for the `dev` branch.
|
|
67
|
+
|
|
68
|
+
Contributor pull requests should target `dev` (see [CONTRIBUTING.md](../blob/main/.github/CONTRIBUTING.md)).
|
|
69
|
+
Mark this pull request as ready for review and merge it when the changes on
|
|
70
|
+
`dev` are ready to land on `main`.
|
|
71
|
+
|
|
72
|
+
> This pull request is created automatically. Edit the title to follow
|
|
73
|
+
> [Conventional Commits](https://www.conventionalcommits.org) so the
|
|
74
|
+
> correct version bump is determined when it is merged.
|
|
75
|
+
EOF
|
|
76
|
+
)"
|
|
@@ -13,7 +13,7 @@ on:
|
|
|
13
13
|
- labeled
|
|
14
14
|
- unlabeled
|
|
15
15
|
- edited
|
|
16
|
-
branches: [main]
|
|
16
|
+
branches: [main, dev]
|
|
17
17
|
|
|
18
18
|
concurrency:
|
|
19
19
|
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
|
|
@@ -73,7 +73,7 @@ jobs:
|
|
|
73
73
|
uses: actions/checkout@v7
|
|
74
74
|
|
|
75
75
|
- name: Set up uv
|
|
76
|
-
uses: astral-sh/setup-uv@v10.
|
|
76
|
+
uses: astral-sh/setup-uv@v10.3.3
|
|
77
77
|
with:
|
|
78
78
|
version: "latest"
|
|
79
79
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: mkdocstrings-matlab
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: A MATLAB handler for mkdocstrings
|
|
5
5
|
Author-email: Mark Hu <watermarkhu@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -10,23 +10,25 @@ Classifier: Intended Audience :: Developers
|
|
|
10
10
|
Classifier: Programming Language :: Python
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
18
|
Classifier: Topic :: Documentation
|
|
19
19
|
Classifier: Topic :: Software Development
|
|
20
20
|
Classifier: Topic :: Software Development :: Documentation
|
|
21
21
|
Classifier: Topic :: Utilities
|
|
22
22
|
Classifier: Typing :: Typed
|
|
23
|
-
Requires-Python: <3.
|
|
24
|
-
Requires-Dist:
|
|
25
|
-
Requires-Dist:
|
|
26
|
-
Requires-Dist:
|
|
23
|
+
Requires-Python: <3.16,>=3.11
|
|
24
|
+
Requires-Dist: certifi>=2026.10.18
|
|
25
|
+
Requires-Dist: charset-normalizer<4,>=3.5.2
|
|
26
|
+
Requires-Dist: griffe<3,>=2.3.2
|
|
27
|
+
Requires-Dist: maxx<1,>=0.10.4
|
|
27
28
|
Requires-Dist: mkdocs-autorefs<2,>=1.4
|
|
28
|
-
Requires-Dist: mkdocstrings<2,>=1.0
|
|
29
|
-
Requires-Dist:
|
|
29
|
+
Requires-Dist: mkdocstrings<2,>=1.0.8
|
|
30
|
+
Requires-Dist: pymdown-extensions<13,>=12.3
|
|
31
|
+
Requires-Dist: textmate-grammar-python>=1.1.0
|
|
30
32
|
Description-Content-Type: text/markdown
|
|
31
33
|
|
|
32
34
|
<!-- --8<-- [start:header] -->
|
|
@@ -38,14 +38,6 @@ Given the function above, the rendered documentation here is created from the fo
|
|
|
38
38
|
|
|
39
39
|
!!! note
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
In the meantime, the correct syntax highlighing can be configured by adding our branch as the dependency in `pyproject.toml`
|
|
44
|
-
|
|
45
|
-
```toml title="pyproject.toml"
|
|
46
|
-
dependencies = [
|
|
47
|
-
"pygments @ git+https://github.com/watermarkhu/pygments.git@matlab",
|
|
48
|
-
]
|
|
49
|
-
```
|
|
41
|
+
MATLAB code blocks are highlighted using the bundled TextMate grammar from `textmate-grammar-python`, with classes derived from its scopes. The MATLAB handler registers this highlighter with SuperFences automatically.
|
|
50
42
|
|
|
51
43
|
--8<-- "README.md:footer"
|
|
@@ -46,4 +46,15 @@
|
|
|
46
46
|
background-color: rgb(131, 128, 243);;
|
|
47
47
|
-webkit-mask-image: var(--md-admonition-icon--code);
|
|
48
48
|
mask-image: var(--md-admonition-icon--code);
|
|
49
|
-
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* TextMate scope classes emitted by the MATLAB code-fence formatter. */
|
|
52
|
+
.tm-token-comment { color: var(--md-code-hl-comment-color); }
|
|
53
|
+
.tm-token-constant { color: var(--md-code-hl-constant-color); }
|
|
54
|
+
.tm-token-error { color: var(--md-code-hl-generic-color); text-decoration: underline wavy; }
|
|
55
|
+
.tm-token-function { color: var(--md-code-hl-function-color); }
|
|
56
|
+
.tm-token-keyword { color: var(--md-code-hl-keyword-color); }
|
|
57
|
+
.tm-token-number { color: var(--md-code-hl-number-color); }
|
|
58
|
+
.tm-token-string { color: var(--md-code-hl-string-color); }
|
|
59
|
+
.tm-token-type { color: var(--md-code-hl-name-color); }
|
|
60
|
+
.tm-token-variable { color: var(--md-code-hl-variable-color); }
|
|
@@ -42,6 +42,8 @@ configuration option of `mkdocstrings` in `mkdocs.yml` or `zensical.toml`:
|
|
|
42
42
|
# The MATLAB handler configuration
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
+
When the MATLAB handler is configured, it automatically registers a TextMate-backed `matlab` code-fence highlighter. No custom SuperFences formatter is needed.
|
|
46
|
+
|
|
45
47
|
## Injecting documentation
|
|
46
48
|
|
|
47
49
|
With the MATLAB handler installed and configured as default handler, you can inject documentation for a module, class, function, or any other MATLAB object with *mkdocstrings*' `[autodoc syntax]`, in your Markdown pages:
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "mkdocstrings-matlab"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.2.0"
|
|
4
4
|
description = "A MATLAB handler for mkdocstrings"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Mark Hu", email = "watermarkhu@gmail.com" }
|
|
7
7
|
]
|
|
8
8
|
license = { text = "MIT" }
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.11, <3.16"
|
|
11
11
|
classifiers = [
|
|
12
12
|
"Development Status :: 4 - Beta",
|
|
13
13
|
"Intended Audience :: Developers",
|
|
14
14
|
"Programming Language :: Python",
|
|
15
15
|
"Programming Language :: Python :: 3",
|
|
16
16
|
"Programming Language :: Python :: 3 :: Only",
|
|
17
|
-
"Programming Language :: Python :: 3.10",
|
|
18
17
|
"Programming Language :: Python :: 3.11",
|
|
19
18
|
"Programming Language :: Python :: 3.12",
|
|
20
19
|
"Programming Language :: Python :: 3.13",
|
|
21
20
|
"Programming Language :: Python :: 3.14",
|
|
21
|
+
"Programming Language :: Python :: 3.15",
|
|
22
22
|
"Topic :: Documentation",
|
|
23
23
|
"Topic :: Software Development",
|
|
24
24
|
"Topic :: Software Development :: Documentation",
|
|
@@ -27,40 +27,38 @@ classifiers = [
|
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
dependencies = [
|
|
30
|
-
"griffe>=2.
|
|
31
|
-
"maxx>=0.10.
|
|
32
|
-
"mkdocstrings>=1.0,<2",
|
|
30
|
+
"griffe>=2.3.2,<3",
|
|
31
|
+
"maxx>=0.10.4,<1",
|
|
32
|
+
"mkdocstrings>=1.0.8,<2",
|
|
33
33
|
"mkdocs-autorefs>=1.4,<2",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"pymdown-extensions>=12.3,<13",
|
|
35
|
+
"charset-normalizer>=3.5.2,<4",
|
|
36
|
+
"textmate-grammar-python>=1.1.0",
|
|
37
|
+
"certifi>=2026.10.18",
|
|
36
38
|
]
|
|
37
39
|
|
|
38
|
-
[tool.uv.sources]
|
|
39
|
-
pygments = { git = "https://github.com/watermarkhu/pygments", branch = "matlab" }
|
|
40
40
|
[dependency-groups]
|
|
41
41
|
dev = [
|
|
42
|
-
"ty
|
|
43
|
-
"prek>=0.
|
|
44
|
-
"ruff>=0.
|
|
45
|
-
"pydantic>=2.
|
|
42
|
+
"ty==0.0.95",
|
|
43
|
+
"prek>=0.5.9,<1",
|
|
44
|
+
"ruff>=0.17.3,<1",
|
|
45
|
+
"pydantic>=2.14,<2.15",
|
|
46
46
|
"pydantic-core>=2.35.0,<3",
|
|
47
|
-
"pytest>=9.
|
|
47
|
+
"pytest>=9.2.0,<10",
|
|
48
48
|
"pytest-cov>=7.1.0,<8",
|
|
49
|
-
"beautifulsoup4>=4.
|
|
50
|
-
"inline-snapshot>=0.
|
|
51
|
-
"mkdocs-material>=9.
|
|
52
|
-
"rumdl>=0.2
|
|
49
|
+
"beautifulsoup4>=4.15.0,<5",
|
|
50
|
+
"inline-snapshot>=0.36.1,<1",
|
|
51
|
+
"mkdocs-material>=9.8.0,<10",
|
|
52
|
+
"rumdl>=0.3.2",
|
|
53
53
|
]
|
|
54
54
|
docs = [
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"zensical>=0.0.29",
|
|
55
|
+
"mkdocstrings-python>=2.0.10",
|
|
56
|
+
"zensical>=0.0.74",
|
|
58
57
|
]
|
|
59
58
|
mkdocs = [
|
|
60
|
-
"pygments",
|
|
61
59
|
"mkdocs<2",
|
|
62
|
-
"mkdocs-material>=9.
|
|
63
|
-
"mkdocstrings-python>=2.0",
|
|
60
|
+
"mkdocs-material>=9.8.0",
|
|
61
|
+
"mkdocstrings-python>=2.0.10",
|
|
64
62
|
]
|
|
65
63
|
|
|
66
64
|
[build-system]
|
|
@@ -82,7 +80,7 @@ markers = [
|
|
|
82
80
|
]
|
|
83
81
|
|
|
84
82
|
[tool.ruff]
|
|
85
|
-
target-version = "
|
|
83
|
+
target-version = "py311"
|
|
86
84
|
line-length = 100
|
|
87
85
|
indent-width = 4
|
|
88
86
|
|
{mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/config.py
RENAMED
|
@@ -3,19 +3,12 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import re
|
|
6
|
-
import sys
|
|
7
6
|
from dataclasses import field, fields
|
|
8
|
-
from typing import TYPE_CHECKING, Annotated, Any, Literal, cast
|
|
7
|
+
from typing import TYPE_CHECKING, Annotated, Any, Literal, Self, cast
|
|
9
8
|
|
|
10
9
|
from griffe._internal.docstrings.parsers import DocstringStyle
|
|
11
10
|
from mkdocstrings import get_logger
|
|
12
11
|
|
|
13
|
-
# YORE: EOL 3.10: Replace block with line 2.
|
|
14
|
-
if sys.version_info >= (3, 11):
|
|
15
|
-
from typing import Self
|
|
16
|
-
else:
|
|
17
|
-
from typing_extensions import Self
|
|
18
|
-
|
|
19
12
|
logger = get_logger(__name__)
|
|
20
13
|
|
|
21
14
|
|
|
@@ -797,10 +790,10 @@ class MatlabInputOptions:
|
|
|
797
790
|
class MatlabOptions(MatlabInputOptions):
|
|
798
791
|
"""Final options passed as template context."""
|
|
799
792
|
|
|
800
|
-
filters: list[tuple[re.Pattern, bool]] = field(default_factory=list)
|
|
793
|
+
filters: list[tuple[re.Pattern, bool]] = field(default_factory=list) # ty: ignore[invalid-attribute-override]
|
|
801
794
|
"""A list of filters applied to filter objects based on their name."""
|
|
802
795
|
|
|
803
|
-
summary: SummaryOption = field(default_factory=SummaryOption)
|
|
796
|
+
summary: SummaryOption = field(default_factory=SummaryOption) # ty: ignore[invalid-mutable-override]
|
|
804
797
|
"""Whether to render summaries of namespaces, classes, functions (methods) and properties."""
|
|
805
798
|
|
|
806
799
|
@classmethod
|
|
@@ -923,5 +916,5 @@ class MatlabInputConfig:
|
|
|
923
916
|
class MatlabConfig(MatlabInputConfig):
|
|
924
917
|
"""MATLAB handler configuration."""
|
|
925
918
|
|
|
926
|
-
inventories: list[Inventory] = field(default_factory=list)
|
|
927
|
-
options: dict[str, Any] = field(default_factory=dict)
|
|
919
|
+
inventories: list[Inventory] = field(default_factory=list) # ty: ignore[invalid-attribute-override]
|
|
920
|
+
options: dict[str, Any] = field(default_factory=dict) # ty: ignore[invalid-attribute-override]
|
{mkdocstrings_matlab-2.1.2 → mkdocstrings_matlab-2.2.0}/src/mkdocstrings_handlers/matlab/handler.py
RENAMED
|
@@ -22,6 +22,7 @@ from mkdocstrings import (
|
|
|
22
22
|
|
|
23
23
|
from mkdocstrings_handlers.matlab import rendering
|
|
24
24
|
from mkdocstrings_handlers.matlab.config import MatlabConfig, MatlabOptions
|
|
25
|
+
from mkdocstrings_handlers.matlab.highlighting import configure_matlab_highlighting
|
|
25
26
|
|
|
26
27
|
if TYPE_CHECKING:
|
|
27
28
|
from collections.abc import Mapping, MutableMapping, Sequence
|
|
@@ -72,6 +73,7 @@ class MatlabHandler(BaseHandler):
|
|
|
72
73
|
Returns:
|
|
73
74
|
None
|
|
74
75
|
"""
|
|
76
|
+
configure_matlab_highlighting(mdx, mdx_config)
|
|
75
77
|
super().__init__(
|
|
76
78
|
theme=theme, custom_templates=custom_templates, mdx=mdx, mdx_config=mdx_config
|
|
77
79
|
)
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"""SuperFences formatter backed by textmate-grammar-python."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import html
|
|
6
|
+
import re
|
|
7
|
+
from collections.abc import Mapping, MutableMapping, MutableSequence, Sequence
|
|
8
|
+
from typing import Any
|
|
9
|
+
|
|
10
|
+
from textmate_grammar.parsers.matlab import matlab_grammar
|
|
11
|
+
|
|
12
|
+
_CATEGORIES = (
|
|
13
|
+
("constant.numeric", "number"),
|
|
14
|
+
("constant.character", "string"),
|
|
15
|
+
("entity.name.function", "function"),
|
|
16
|
+
("entity.name.type", "type"),
|
|
17
|
+
("support.function", "function"),
|
|
18
|
+
("support.type", "type"),
|
|
19
|
+
("keyword", "keyword"),
|
|
20
|
+
("storage", "keyword"),
|
|
21
|
+
("string", "string"),
|
|
22
|
+
("comment", "comment"),
|
|
23
|
+
("constant", "constant"),
|
|
24
|
+
("variable", "variable"),
|
|
25
|
+
("invalid", "error"),
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def validate_matlab_fence(
|
|
30
|
+
language: str,
|
|
31
|
+
inputs: dict[str, Any],
|
|
32
|
+
options: dict[str, Any],
|
|
33
|
+
attrs: dict[str, str],
|
|
34
|
+
md: Any,
|
|
35
|
+
) -> bool:
|
|
36
|
+
"""Accept fence options without falling back to Pygments highlighting."""
|
|
37
|
+
del language, attrs, md
|
|
38
|
+
options.update(inputs)
|
|
39
|
+
return True
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def configure_matlab_highlighting(mdx: Sequence[Any], mdx_config: Mapping[str, Any]) -> None:
|
|
43
|
+
"""Register the TextMate formatter on the site's SuperFences extension."""
|
|
44
|
+
if not isinstance(mdx, MutableSequence) or not isinstance(mdx_config, MutableMapping):
|
|
45
|
+
raise TypeError("MkDocs must provide mutable Markdown extension configuration")
|
|
46
|
+
|
|
47
|
+
extension_name = "pymdownx.superfences"
|
|
48
|
+
if not any(
|
|
49
|
+
extension == extension_name or type(extension).__module__.startswith(extension_name)
|
|
50
|
+
for extension in mdx
|
|
51
|
+
):
|
|
52
|
+
mdx.append(extension_name)
|
|
53
|
+
|
|
54
|
+
extension_config = mdx_config.setdefault(extension_name, {})
|
|
55
|
+
if not isinstance(extension_config, MutableMapping):
|
|
56
|
+
raise TypeError("The SuperFences configuration must be mutable")
|
|
57
|
+
custom_fences = extension_config.setdefault("custom_fences", [])
|
|
58
|
+
if not isinstance(custom_fences, MutableSequence):
|
|
59
|
+
raise TypeError("SuperFences custom_fences must be a mutable sequence")
|
|
60
|
+
|
|
61
|
+
for fence in custom_fences:
|
|
62
|
+
if isinstance(fence, MutableMapping) and fence.get("name") == "matlab":
|
|
63
|
+
fence["class"] = fence.get("class") or "matlab"
|
|
64
|
+
fence["format"] = highlight_matlab
|
|
65
|
+
fence["validator"] = validate_matlab_fence
|
|
66
|
+
break
|
|
67
|
+
else:
|
|
68
|
+
custom_fences.append(
|
|
69
|
+
{
|
|
70
|
+
"name": "matlab",
|
|
71
|
+
"class": "matlab",
|
|
72
|
+
"format": highlight_matlab,
|
|
73
|
+
"validator": validate_matlab_fence,
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def highlight_matlab(
|
|
79
|
+
source: str,
|
|
80
|
+
language: str,
|
|
81
|
+
class_name: str,
|
|
82
|
+
options: dict[str, Any],
|
|
83
|
+
md: Any,
|
|
84
|
+
**kwargs: Any,
|
|
85
|
+
) -> str:
|
|
86
|
+
"""Format a MATLAB fenced block using TextMate scopes.
|
|
87
|
+
|
|
88
|
+
The signature matches ``pymdownx.superfences`` custom fence formatters.
|
|
89
|
+
Existing fence classes, ids, and attributes are retained.
|
|
90
|
+
"""
|
|
91
|
+
del md
|
|
92
|
+
|
|
93
|
+
grammar = matlab_grammar()
|
|
94
|
+
state = None
|
|
95
|
+
lines = source.split("\n")
|
|
96
|
+
rendered: list[str] = []
|
|
97
|
+
final_scopes = (grammar.root_scope_name,)
|
|
98
|
+
|
|
99
|
+
for index, line in enumerate(lines):
|
|
100
|
+
result = grammar.tokenize_line(line, state)
|
|
101
|
+
state = result.ruleStack
|
|
102
|
+
for token in result.tokens:
|
|
103
|
+
value = line[token.startIndex : token.endIndex]
|
|
104
|
+
if not value:
|
|
105
|
+
continue
|
|
106
|
+
final_scopes = tuple(token.scopes)
|
|
107
|
+
classes = _scope_classes(final_scopes)
|
|
108
|
+
rendered.append(
|
|
109
|
+
f'<span class="{html.escape(" ".join(classes), quote=True)}">'
|
|
110
|
+
f"{html.escape(value, quote=False)}</span>"
|
|
111
|
+
)
|
|
112
|
+
if index < len(lines) - 1:
|
|
113
|
+
classes = _scope_classes(final_scopes)
|
|
114
|
+
rendered.append(f'<span class="{html.escape(" ".join(classes), quote=True)}">\n</span>')
|
|
115
|
+
|
|
116
|
+
classes = list(kwargs.get("classes", []))
|
|
117
|
+
if class_name:
|
|
118
|
+
classes.insert(0, class_name)
|
|
119
|
+
class_attr = f' class="{html.escape(" ".join(classes), quote=True)}"' if classes else ""
|
|
120
|
+
id_value = kwargs.get("id_value")
|
|
121
|
+
id_attr = f' id="{html.escape(str(id_value), quote=True)}"' if id_value else ""
|
|
122
|
+
attrs = kwargs.get("attrs", {})
|
|
123
|
+
attrs_attr = "".join(
|
|
124
|
+
f' {html.escape(str(name), quote=True)}="{html.escape(str(value), quote=True)}"'
|
|
125
|
+
for name, value in attrs.items()
|
|
126
|
+
)
|
|
127
|
+
title = options.get("title")
|
|
128
|
+
title_markup = (
|
|
129
|
+
f'<span class="filename">{html.escape(str(title), quote=False)}</span>' if title else ""
|
|
130
|
+
)
|
|
131
|
+
wrapper_classes = f' class="language-{_css_name(language)} highlight"'
|
|
132
|
+
return (
|
|
133
|
+
f"<div{wrapper_classes}>{title_markup}"
|
|
134
|
+
f"<pre{id_attr}{class_attr}{attrs_attr}><code>{''.join(rendered)}</code></pre></div>"
|
|
135
|
+
)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
def _scope_classes(scopes: tuple[str, ...]) -> list[str]:
|
|
139
|
+
classes = [f"tm-{_css_name(scope)}" for scope in scopes if scope]
|
|
140
|
+
for scope in reversed(scopes):
|
|
141
|
+
for prefix, category in _CATEGORIES:
|
|
142
|
+
if scope == prefix or scope.startswith(f"{prefix}."):
|
|
143
|
+
classes.append(f"tm-token-{category}")
|
|
144
|
+
return list(dict.fromkeys(classes))
|
|
145
|
+
return list(dict.fromkeys(classes))
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
def _css_name(value: str) -> str:
|
|
149
|
+
return re.sub(r"[^a-zA-Z0-9_-]+", "-", value).strip("-").lower()
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
__all__ = ["configure_matlab_highlighting", "highlight_matlab", "validate_matlab_fence"]
|
|
@@ -37,6 +37,7 @@ from griffe._internal.docstrings.parsers import DocstringStyle, parse
|
|
|
37
37
|
from jinja2 import pass_context
|
|
38
38
|
from markupsafe import Markup
|
|
39
39
|
from maxx.enums import ArgumentKind
|
|
40
|
+
from maxx.exceptions import CyclicAliasError as MaxxCyclicAliasError
|
|
40
41
|
from maxx.objects import Alias, Class, Folder, Function, Namespace, Object, Property, Script
|
|
41
42
|
from mkdocs_autorefs import AutorefsHookInterface
|
|
42
43
|
from mkdocstrings import get_logger
|
|
@@ -401,6 +402,41 @@ def _remove_cycles(objects: list[MEMBERS]) -> Iterator[MEMBERS]:
|
|
|
401
402
|
yield obj
|
|
402
403
|
|
|
403
404
|
|
|
405
|
+
def _has_docstrings(obj: MEMBERS, _seen: set[int] | None = None) -> bool:
|
|
406
|
+
"""
|
|
407
|
+
Whether an object or any of its members has a docstring (empty or not).
|
|
408
|
+
|
|
409
|
+
maxx's models only expose the non-recursive ``has_docstring`` (unlike
|
|
410
|
+
griffe's ``has_docstrings``), so containers such as namespaces, classes,
|
|
411
|
+
and folders that lack their own docstring were being dropped entirely by
|
|
412
|
+
``do_filter_objects`` even when they contain documented members. This
|
|
413
|
+
recurses into members (including sub-namespaces) to find any docstring.
|
|
414
|
+
|
|
415
|
+
Aliases are resolved to their targets before recursing. ``Alias.members`` builds
|
|
416
|
+
fresh alias wrappers on every access, so identity of the wrapper cannot detect a
|
|
417
|
+
cycle; the identity of the resolved target can.
|
|
418
|
+
|
|
419
|
+
Args:
|
|
420
|
+
obj: The object to check.
|
|
421
|
+
_seen: Identities of resolved targets already visited in this traversal.
|
|
422
|
+
|
|
423
|
+
Returns:
|
|
424
|
+
Whether the object or any of its members (recursively) has a docstring.
|
|
425
|
+
"""
|
|
426
|
+
seen = set() if _seen is None else _seen
|
|
427
|
+
try:
|
|
428
|
+
target = cast("Alias", obj).target if obj.is_alias else obj
|
|
429
|
+
if id(target) in seen:
|
|
430
|
+
return False
|
|
431
|
+
seen.add(id(target))
|
|
432
|
+
if target.has_docstring:
|
|
433
|
+
return True
|
|
434
|
+
members = getattr(target, "members", None) or {}
|
|
435
|
+
except (AliasResolutionError, CyclicAliasError, MaxxCyclicAliasError):
|
|
436
|
+
return False
|
|
437
|
+
return any(_has_docstrings(member, seen) for member in members.values())
|
|
438
|
+
|
|
439
|
+
|
|
404
440
|
def do_filter_objects(
|
|
405
441
|
objects_dictionary: dict[str, MEMBERS],
|
|
406
442
|
*,
|
|
@@ -490,7 +526,11 @@ def do_filter_objects(
|
|
|
490
526
|
objects = [
|
|
491
527
|
obj
|
|
492
528
|
for obj in objects
|
|
493
|
-
if
|
|
529
|
+
if _has_docstrings(obj)
|
|
530
|
+
# Folders are structural containers; hiding an undocumented folder would also
|
|
531
|
+
# hide its children, which `show_if_no_docstring` is not meant to control.
|
|
532
|
+
or getattr(obj, "is_folder", False)
|
|
533
|
+
or (inherited_members_specified and obj.inherited)
|
|
494
534
|
]
|
|
495
535
|
|
|
496
536
|
# Prevent infinite recursion.
|