mkdocstrings-python 1.19.0__tar.gz → 2.0.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_python-1.19.0 → mkdocstrings_python-2.0.0}/CHANGELOG.md +8 -0
- mkdocstrings_python-2.0.0/PKG-INFO +179 -0
- mkdocstrings_python-2.0.0/README.md +142 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/pyproject.toml +1 -1
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/__init__.py +0 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/_internal/handler.py +5 -44
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/_internal/rendering.py +14 -111
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/attribute.html.jinja +2 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/class.html.jinja +8 -16
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html.jinja +4 -8
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/classes.html.jinja +1 -2
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html.jinja +1 -2
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/functions.html.jinja +1 -2
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/modules.html.jinja +1 -2
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html.jinja +4 -8
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html.jinja +7 -14
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html.jinja +4 -8
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html.jinja +5 -10
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html.jinja +5 -10
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/type_aliases.html.jinja +1 -1
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/type_parameters.html.jinja +9 -9
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html.jinja +4 -8
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html.jinja +5 -10
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring.html.jinja +15 -30
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/function.html.jinja +5 -9
- {mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs → mkdocstrings_python-2.0.0/src/mkdocstrings_handlers/python/templates/material}/_base/language.html.jinja +3 -6
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/module.html.jinja +4 -8
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/signature.html.jinja +3 -6
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/attributes.html.jinja +1 -2
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/classes.html.jinja +1 -2
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/functions.html.jinja +1 -2
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/modules.html.jinja +1 -2
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/type_aliases.html.jinja +1 -2
- mkdocstrings_python-2.0.0/src/mkdocstrings_handlers/python/templates/material/_base/summary.html.jinja +30 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/type_alias.html.jinja +3 -6
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/type_parameters.html.jinja +2 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/class.html.jinja +18 -18
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/attributes.html.jinja +2 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/other_parameters.html.jinja +2 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/parameters.html.jinja +3 -6
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/raises.html.jinja +2 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/receives.html.jinja +2 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/returns.html.jinja +2 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/warns.html.jinja +2 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/yields.html.jinja +2 -4
- {mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material → mkdocstrings_python-2.0.0/src/mkdocstrings_handlers/python/templates/readthedocs}/_base/language.html.jinja +3 -6
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/test_api.py +0 -4
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/test_handler.py +2 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/test_themes.py +3 -7
- mkdocstrings_python-1.19.0/PKG-INFO +0 -121
- mkdocstrings_python-1.19.0/README.md +0 -84
- mkdocstrings_python-1.19.0/docs/.overrides/main.html +0 -18
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/config.py +0 -17
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/handler.py +0 -17
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/rendering.py +0 -17
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/attribute.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/children.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/class.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/classes.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/functions.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/modules.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/type_aliases.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/type_parameters.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/docstring.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/expression.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/function.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/labels.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/language.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/languages/en.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/languages/ja.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/languages/zh.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/module.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/signature.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/summary/attributes.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/summary/classes.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/summary/functions.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/summary/modules.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/summary/type_aliases.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/summary.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/summary.html.jinja +0 -35
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/type_alias.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/_base/type_parameters.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/attribute.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/children.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/class.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/admonition.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/attributes.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/classes.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/examples.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/functions.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/modules.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/other_parameters.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/parameters.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/raises.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/receives.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/returns.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/warns.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring/yields.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/docstring.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/expression.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/function.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/labels.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/language.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/languages/en.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/languages/ja.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/languages/zh.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/module.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/signature.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/summary/attributes.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/summary/classes.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/summary/functions.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/summary/modules.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/material/summary.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/attributes.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/other_parameters.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/parameters.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/raises.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/receives.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/returns.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/warns.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/yields.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/language.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/en.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/ja.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/zh.html +0 -10
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/attributes.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/other_parameters.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/parameters.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/raises.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/receives.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/returns.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/warns.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/yields.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/language.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/languages/en.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/languages/ja.html +0 -2
- mkdocstrings_python-1.19.0/src/mkdocstrings_handlers/python/templates/readthedocs/languages/zh.html +0 -2
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/CODE_OF_CONDUCT.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/CONTRIBUTING.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/LICENSE +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/config/black.toml +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/config/coverage.ini +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/config/git-changelog.toml +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/config/mypy.ini +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/config/pytest.ini +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/config/ruff.toml +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/config/vscode/launch.json +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/config/vscode/settings.json +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/config/vscode/tasks.json +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/.glossary.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/.overrides/partials/comments.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/.overrides/partials/path-item.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/changelog.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/code_of_conduct.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/contributing.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/credits.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/css/material.css +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/css/mkdocstrings.css +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/index.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/js/feedback.js +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/license.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/logo.png +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/reference/api.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/snippets/package/__init__.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/snippets/package/generics.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/snippets/package/modern.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/configuration/docstrings.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/configuration/general.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/configuration/headings.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/configuration/members.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/configuration/signatures.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/customization.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/docstrings/google.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/docstrings/numpy.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/docstrings/sphinx.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/extensions.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/docs/usage/index.md +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/duties.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/mkdocs.yml +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/scripts/gen_credits.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/scripts/get_version.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/scripts/griffe_extensions.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/scripts/make +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/scripts/make.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/scripts/mkdocs_hooks.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/_internal/__init__.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/_internal/config.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/_internal/debug.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/py.typed +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/backlinks.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/children.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/expression.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/labels.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/_base/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/attribute.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/backlinks.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/children.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/class.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/admonition.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/classes.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/examples.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/functions.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/modules.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/parameters.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/type_aliases.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/type_aliases.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/type_parameters.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/type_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/docstring.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/expression.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/function.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/labels.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/language.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/module.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/signature.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/style.css +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/summary/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/summary/classes.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/summary/functions.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/summary/modules.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/summary/type_aliases.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/summary/type_aliases.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/summary.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/type_alias.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/type_alias.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/type_parameters.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/material/type_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/class.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/class.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/class.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/parameters.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/language.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/src/mkdocstrings_handlers/python/templates/readthedocs/style.css +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/__init__.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/conftest.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/helpers.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/headings/heading=,separate_signature=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/headings/heading=,separate_signature=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/headings/heading=Some heading,separate_signature=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/headings/heading=Some heading,separate_signature=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=('method1',),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=('method1',),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=('method1',),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=('method1',),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=('method1',),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=(),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=(),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=(),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=(),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=(),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=False,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=False,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=False,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=False,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=False,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=True,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=True,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=True,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=True,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('!module_attribute',),inherited_members=True,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=('method1',),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=('method1',),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=('method1',),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=('method1',),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=('method1',),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=(),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=(),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=(),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=(),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=(),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=False,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=False,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=False,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=False,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=False,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=True,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=True,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=True,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=True,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=('module_attribute',),inherited_members=True,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=('method1',),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=('method1',),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=('method1',),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=('method1',),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=('method1',),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=(),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=(),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=(),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=(),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=(),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=False,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=False,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=False,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=False,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=False,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=True,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=True,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=True,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=True,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=(),inherited_members=True,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=('method1',),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=('method1',),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=('method1',),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=('method1',),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=('method1',),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=(),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=(),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=(),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=(),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=(),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=False,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=False,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=False,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=False,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=False,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=True,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=True,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=True,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=True,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=None,inherited_members=True,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=('method1',),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=('method1',),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=('method1',),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=('method1',),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=('method1',),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=(),members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=(),members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=(),members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=(),members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=(),members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=False,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=False,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=False,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=False,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=False,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=True,members=('module_attribute',).html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=True,members=().html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=True,members=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=True,members=None.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/members/filters=public,inherited_members=True,members=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/overloads/overloads_only=False,separate_signature=False,show_overloads=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/overloads/overloads_only=False,separate_signature=False,show_overloads=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/overloads/overloads_only=False,separate_signature=True,show_overloads=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/overloads/overloads_only=False,separate_signature=True,show_overloads=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/overloads/overloads_only=True,separate_signature=False,show_overloads=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/overloads/overloads_only=True,separate_signature=False,show_overloads=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/overloads/overloads_only=True,separate_signature=True,show_overloads=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/overloads/overloads_only=True,separate_signature=True,show_overloads=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/signatures/separate_signature=False,show_signature_annotations=False,signature_crossrefs=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/signatures/separate_signature=False,show_signature_annotations=False,signature_crossrefs=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/signatures/separate_signature=False,show_signature_annotations=True,signature_crossrefs=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/signatures/separate_signature=False,show_signature_annotations=True,signature_crossrefs=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/signatures/separate_signature=True,show_signature_annotations=False,signature_crossrefs=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/signatures/separate_signature=True,show_signature_annotations=False,signature_crossrefs=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/signatures/separate_signature=True,show_signature_annotations=True,signature_crossrefs=False.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/snapshots/signatures/separate_signature=True,show_signature_annotations=True,signature_crossrefs=True.html +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/test_end_to_end.py +0 -0
- {mkdocstrings_python-1.19.0 → mkdocstrings_python-2.0.0}/tests/test_rendering.py +0 -0
|
@@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
7
|
<!-- insertion marker -->
|
|
8
|
+
## [2.0.0](https://github.com/mkdocstrings/python/releases/tag/2.0.0) - 2025-11-27
|
|
9
|
+
|
|
10
|
+
<small>[Compare with 1.19.0](https://github.com/mkdocstrings/python/compare/1.19.0...2.0.0)</small>
|
|
11
|
+
|
|
12
|
+
### Code Refactoring
|
|
13
|
+
|
|
14
|
+
- Remove deprecated code for v2 ([c10afdb](https://github.com/mkdocstrings/python/commit/c10afdb98d590a23c8840c7c0cdd6c358094dc2c) by Timothée Mazzucotelli).
|
|
15
|
+
|
|
8
16
|
## [1.19.0](https://github.com/mkdocstrings/python/releases/tag/1.19.0) - 2025-11-10
|
|
9
17
|
|
|
10
18
|
<small>[Compare with 1.18.2](https://github.com/mkdocstrings/python/compare/1.18.2...1.19.0)</small>
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mkdocstrings-python
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: A Python handler for mkdocstrings.
|
|
5
|
+
Author-Email: =?utf-8?q?Timoth=C3=A9e_Mazzucotelli?= <dev@pawamoy.fr>
|
|
6
|
+
License-Expression: ISC
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Topic :: Documentation
|
|
19
|
+
Classifier: Topic :: Software Development
|
|
20
|
+
Classifier: Topic :: Software Development :: Documentation
|
|
21
|
+
Classifier: Topic :: Utilities
|
|
22
|
+
Classifier: Typing :: Typed
|
|
23
|
+
Project-URL: Homepage, https://mkdocstrings.github.io/python
|
|
24
|
+
Project-URL: Documentation, https://mkdocstrings.github.io/python
|
|
25
|
+
Project-URL: Changelog, https://mkdocstrings.github.io/python/changelog
|
|
26
|
+
Project-URL: Repository, https://github.com/mkdocstrings/python
|
|
27
|
+
Project-URL: Issues, https://github.com/mkdocstrings/python/issues
|
|
28
|
+
Project-URL: Discussions, https://github.com/mkdocstrings/python/discussions
|
|
29
|
+
Project-URL: Gitter, https://gitter.im/mkdocstrings/python
|
|
30
|
+
Project-URL: Funding, https://github.com/sponsors/pawamoy
|
|
31
|
+
Requires-Python: >=3.10
|
|
32
|
+
Requires-Dist: mkdocstrings>=0.30
|
|
33
|
+
Requires-Dist: mkdocs-autorefs>=1.4
|
|
34
|
+
Requires-Dist: griffe>=1.13
|
|
35
|
+
Requires-Dist: typing-extensions>=4.0; python_version < "3.11"
|
|
36
|
+
Description-Content-Type: text/markdown
|
|
37
|
+
|
|
38
|
+
<h1 align="center">mkdocstrings-python</h1>
|
|
39
|
+
|
|
40
|
+
<p align="center">A Python handler for <a href="https://github.com/mkdocstrings/mkdocstrings"><i>mkdocstrings</i></a>.</p>
|
|
41
|
+
|
|
42
|
+
[](https://github.com/mkdocstrings/python/actions?query=workflow%3Aci)
|
|
43
|
+
[](https://mkdocstrings.github.io/python/)
|
|
44
|
+
[](https://pypi.org/project/mkdocstrings-python/)
|
|
45
|
+
[](https://app.gitter.im/#/room/#mkdocstrings_python:gitter.im)
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
<p align="center"><img src="logo.png"></p>
|
|
50
|
+
|
|
51
|
+
The Python handler uses [Griffe](https://mkdocstrings.github.io/griffe)
|
|
52
|
+
to collect documentation from Python source code.
|
|
53
|
+
The word "griffe" can sometimes be used instead of "signature" in French.
|
|
54
|
+
Griffe is able to visit the Abstract Syntax Tree (AST) of the source code to extract useful information.
|
|
55
|
+
It is also able to execute the code (by importing it) and introspect objects in memory
|
|
56
|
+
when source code is not available. Finally, it can parse docstrings following different styles.
|
|
57
|
+
|
|
58
|
+
## Installation
|
|
59
|
+
|
|
60
|
+
You can install this handler as a *mkdocstrings* extra:
|
|
61
|
+
|
|
62
|
+
```toml title="pyproject.toml"
|
|
63
|
+
# PEP 621 dependencies declaration
|
|
64
|
+
# adapt to your dependencies manager
|
|
65
|
+
[project]
|
|
66
|
+
dependencies = [
|
|
67
|
+
"mkdocstrings[python]>=0.18",
|
|
68
|
+
]
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
You can also explicitly depend on the handler:
|
|
72
|
+
|
|
73
|
+
```toml title="pyproject.toml"
|
|
74
|
+
# PEP 621 dependencies declaration
|
|
75
|
+
# adapt to your dependencies manager
|
|
76
|
+
[project]
|
|
77
|
+
dependencies = [
|
|
78
|
+
"mkdocstrings-python",
|
|
79
|
+
]
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Preview
|
|
83
|
+
|
|
84
|
+
<!-- TODO: update the GIF with a more recent screen capture. Maybe use mp4 instead -->
|
|
85
|
+

|
|
86
|
+
|
|
87
|
+
## Features
|
|
88
|
+
|
|
89
|
+
- **Data collection from source code**: collection of the object-tree and the docstrings is done thanks to
|
|
90
|
+
[Griffe](https://github.com/mkdocstrings/griffe).
|
|
91
|
+
|
|
92
|
+
- **Support for type annotations:** Griffe collects your type annotations and *mkdocstrings* uses them
|
|
93
|
+
to display parameter types or return types. It is even able to automatically add cross-references
|
|
94
|
+
to other objects from your API, from the standard library or third-party libraries!
|
|
95
|
+
See [how to load inventories](https://mkdocstrings.github.io/usage/#cross-references-to-other-projects-inventories) to enable it.
|
|
96
|
+
|
|
97
|
+
- **Recursive documentation of Python objects:** just use the module dotted-path as an identifier, and you get the full
|
|
98
|
+
module docs. You don't need to inject documentation for each class, function, etc.
|
|
99
|
+
|
|
100
|
+
- **Support for documented attributes:** attributes (variables) followed by a docstring (triple-quoted string) will
|
|
101
|
+
be recognized by Griffe in modules, classes and even in `__init__` methods.
|
|
102
|
+
|
|
103
|
+
- **Multiple docstring-styles support:** common support for Google-style, Numpydoc-style,
|
|
104
|
+
and Sphinx-style docstrings. See [Griffe's documentation](https://mkdocstrings.github.io/griffe/docstrings/) on docstrings support.
|
|
105
|
+
|
|
106
|
+
- **Admonition support in Google docstrings:** blocks like `Note:` or `Warning:` will be transformed
|
|
107
|
+
to their [admonition](https://squidfunk.github.io/mkdocs-material/reference/admonitions/) equivalent.
|
|
108
|
+
*We do not support nested admonitions in docstrings!*
|
|
109
|
+
|
|
110
|
+
- **Every object has a TOC entry:** we render a heading for each object, meaning *MkDocs* picks them into the Table
|
|
111
|
+
of Contents, which is nicely displayed by the Material theme. Thanks to *mkdocstrings* cross-reference ability,
|
|
112
|
+
you can reference other objects within your docstrings, with the classic Markdown syntax:
|
|
113
|
+
`[this object][package.module.object]` or directly with `[package.module.object][]`
|
|
114
|
+
|
|
115
|
+
- **Source code display:** *mkdocstrings* can add a collapsible div containing the highlighted source code
|
|
116
|
+
of the Python object.
|
|
117
|
+
|
|
118
|
+
## Sponsors
|
|
119
|
+
|
|
120
|
+
<!-- sponsors-start -->
|
|
121
|
+
|
|
122
|
+
<div id="premium-sponsors" style="text-align: center;">
|
|
123
|
+
|
|
124
|
+
<div id="silver-sponsors"><b>Silver sponsors</b><p>
|
|
125
|
+
<a href="https://squidfunk.github.io/mkdocs-material/"><img alt="Material for MkDocs" src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.svg" style="height: 320px; "></a><br>
|
|
126
|
+
<a href="https://fastapi.tiangolo.com/"><img alt="FastAPI" src="https://raw.githubusercontent.com/tiangolo/fastapi/master/docs/en/docs/img/logo-margin/logo-teal.png" style="height: 200px; "></a><br>
|
|
127
|
+
<a href="https://docs.pydantic.dev/latest/"><img alt="Pydantic" src="https://pydantic.dev/assets/for-external/pydantic_logfire_logo_endorsed_lithium_rgb.svg" style="height: 180px; "></a><br>
|
|
128
|
+
</p></div>
|
|
129
|
+
|
|
130
|
+
<div id="bronze-sponsors"><b>Bronze sponsors</b><p>
|
|
131
|
+
<a href="https://www.nixtla.io/"><picture><source media="(prefers-color-scheme: light)" srcset="https://www.nixtla.io/img/logo/full-black.svg"><source media="(prefers-color-scheme: dark)" srcset="https://www.nixtla.io/img/logo/full-white.svg"><img alt="Nixtla" src="https://www.nixtla.io/img/logo/full-black.svg" style="height: 60px; "></picture></a><br>
|
|
132
|
+
</p></div>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
<div id="sponsors"><p>
|
|
138
|
+
<a href="https://github.com/ofek"><img alt="ofek" src="https://avatars.githubusercontent.com/u/9677399?u=386c330f212ce467ce7119d9615c75d0e9b9f1ce&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
139
|
+
<a href="https://github.com/samuelcolvin"><img alt="samuelcolvin" src="https://avatars.githubusercontent.com/u/4039449?u=42eb3b833047c8c4b4f647a031eaef148c16d93f&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
140
|
+
<a href="https://github.com/tlambert03"><img alt="tlambert03" src="https://avatars.githubusercontent.com/u/1609449?u=922abf0524b47739b37095e553c99488814b05db&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
141
|
+
<a href="https://github.com/ssbarnea"><img alt="ssbarnea" src="https://avatars.githubusercontent.com/u/102495?u=c7bd9ddf127785286fc939dd18cb02db0a453bce&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
142
|
+
<a href="https://github.com/femtomc"><img alt="femtomc" src="https://avatars.githubusercontent.com/u/34410036?u=f13a71daf2a9f0d2da189beaa94250daa629e2d8&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
143
|
+
<a href="https://github.com/cmarqu"><img alt="cmarqu" src="https://avatars.githubusercontent.com/u/360986?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
144
|
+
<a href="https://github.com/kolenaIO"><img alt="kolenaIO" src="https://avatars.githubusercontent.com/u/77010818?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
145
|
+
<a href="https://github.com/ramnes"><img alt="ramnes" src="https://avatars.githubusercontent.com/u/835072?u=3fca03c3ba0051e2eb652b1def2188a94d1e1dc2&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
146
|
+
<a href="https://github.com/machow"><img alt="machow" src="https://avatars.githubusercontent.com/u/2574498?u=c41e3d2f758a05102d8075e38d67b9c17d4189d7&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
147
|
+
<a href="https://github.com/BenHammersley"><img alt="BenHammersley" src="https://avatars.githubusercontent.com/u/99436?u=4499a7b507541045222ee28ae122dbe3c8d08ab5&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
148
|
+
<a href="https://github.com/trevorWieland"><img alt="trevorWieland" src="https://avatars.githubusercontent.com/u/28811461?u=74cc0e3756c1d4e3d66b5c396e1d131ea8a10472&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
149
|
+
<a href="https://github.com/laenan8466"><img alt="laenan8466" src="https://avatars.githubusercontent.com/u/21331242?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
150
|
+
<a href="https://github.com/MarcoGorelli"><img alt="MarcoGorelli" src="https://avatars.githubusercontent.com/u/33491632?u=7de3a749cac76a60baca9777baf71d043a4f884d&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
151
|
+
<a href="https://github.com/analog-cbarber"><img alt="analog-cbarber" src="https://avatars.githubusercontent.com/u/7408243?u=642fc2bdcc9904089c62fe5aec4e03ace32da67d&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
152
|
+
<a href="https://github.com/OdinManiac"><img alt="OdinManiac" src="https://avatars.githubusercontent.com/u/22727172?u=36ab20970f7f52ae8e7eb67b7fcf491fee01ac22&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
153
|
+
<a href="https://github.com/rstudio-sponsorship"><img alt="rstudio-sponsorship" src="https://avatars.githubusercontent.com/u/58949051?u=0c471515dd18111be30dfb7669ed5e778970959b&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
154
|
+
<a href="https://github.com/schlich"><img alt="schlich" src="https://avatars.githubusercontent.com/u/21191435?u=6f1240adb68f21614d809ae52d66509f46b1e877&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
155
|
+
<a href="https://github.com/SuperCowPowers"><img alt="SuperCowPowers" src="https://avatars.githubusercontent.com/u/6900187?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
156
|
+
<a href="https://github.com/butterlyn"><img alt="butterlyn" src="https://avatars.githubusercontent.com/u/53323535?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
157
|
+
<a href="https://github.com/livingbio"><img alt="livingbio" src="https://avatars.githubusercontent.com/u/10329983?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
158
|
+
<a href="https://github.com/NemetschekAllplan"><img alt="NemetschekAllplan" src="https://avatars.githubusercontent.com/u/912034?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
159
|
+
<a href="https://github.com/EricJayHartman"><img alt="EricJayHartman" src="https://avatars.githubusercontent.com/u/9259499?u=7e58cc7ec0cd3e85b27aec33656aa0f6612706dd&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
160
|
+
<a href="https://github.com/15r10nk"><img alt="15r10nk" src="https://avatars.githubusercontent.com/u/44680962?u=f04826446ff165742efa81e314bd03bf1724d50e&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
161
|
+
<a href="https://github.com/cdwilson"><img alt="cdwilson" src="https://avatars.githubusercontent.com/u/14631?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
162
|
+
<a href="https://github.com/activeloopai"><img alt="activeloopai" src="https://avatars.githubusercontent.com/u/34816118?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
163
|
+
<a href="https://github.com/roboflow"><img alt="roboflow" src="https://avatars.githubusercontent.com/u/53104118?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
164
|
+
<a href="https://github.com/wrath-codes"><img alt="wrath-codes" src="https://avatars.githubusercontent.com/u/90050913?u=b26582409dfff8ce2b60016fd119be09309708da&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
165
|
+
<a href="https://github.com/leodevian"><img alt="leodevian" src="https://avatars.githubusercontent.com/u/167141781?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
166
|
+
<a href="https://github.com/cmclaughlin"><img alt="cmclaughlin" src="https://avatars.githubusercontent.com/u/1061109?u=ddf6eec0edd2d11c980f8c3aa96e3d044d4e0468&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
167
|
+
<a href="https://github.com/blaisep"><img alt="blaisep" src="https://avatars.githubusercontent.com/u/254456?u=97d584b7c0a6faf583aa59975df4f993f671d121&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
168
|
+
<a href="https://github.com/RapidataAI"><img alt="RapidataAI" src="https://avatars.githubusercontent.com/u/104209891?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
169
|
+
<a href="https://github.com/rodolphebarbanneau"><img alt="rodolphebarbanneau" src="https://avatars.githubusercontent.com/u/46493454?u=6c405452a40c231cdf0b68e97544e07ee956a733&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
170
|
+
<a href="https://github.com/theSymbolSyndicate"><img alt="theSymbolSyndicate" src="https://avatars.githubusercontent.com/u/111542255?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
171
|
+
<a href="https://github.com/blakeNaccarato"><img alt="blakeNaccarato" src="https://avatars.githubusercontent.com/u/20692450?u=bb919218be30cfa994514f4cf39bb2f7cf952df4&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
172
|
+
<a href="https://github.com/ChargeStorm"><img alt="ChargeStorm" src="https://avatars.githubusercontent.com/u/26000165?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
173
|
+
<a href="https://github.com/Alphadelta14"><img alt="Alphadelta14" src="https://avatars.githubusercontent.com/u/480845?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
174
|
+
</p></div>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
*And 8 more private sponsor(s).*
|
|
178
|
+
|
|
179
|
+
<!-- sponsors-end -->
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
<h1 align="center">mkdocstrings-python</h1>
|
|
2
|
+
|
|
3
|
+
<p align="center">A Python handler for <a href="https://github.com/mkdocstrings/mkdocstrings"><i>mkdocstrings</i></a>.</p>
|
|
4
|
+
|
|
5
|
+
[](https://github.com/mkdocstrings/python/actions?query=workflow%3Aci)
|
|
6
|
+
[](https://mkdocstrings.github.io/python/)
|
|
7
|
+
[](https://pypi.org/project/mkdocstrings-python/)
|
|
8
|
+
[](https://app.gitter.im/#/room/#mkdocstrings_python:gitter.im)
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<p align="center"><img src="logo.png"></p>
|
|
13
|
+
|
|
14
|
+
The Python handler uses [Griffe](https://mkdocstrings.github.io/griffe)
|
|
15
|
+
to collect documentation from Python source code.
|
|
16
|
+
The word "griffe" can sometimes be used instead of "signature" in French.
|
|
17
|
+
Griffe is able to visit the Abstract Syntax Tree (AST) of the source code to extract useful information.
|
|
18
|
+
It is also able to execute the code (by importing it) and introspect objects in memory
|
|
19
|
+
when source code is not available. Finally, it can parse docstrings following different styles.
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
You can install this handler as a *mkdocstrings* extra:
|
|
24
|
+
|
|
25
|
+
```toml title="pyproject.toml"
|
|
26
|
+
# PEP 621 dependencies declaration
|
|
27
|
+
# adapt to your dependencies manager
|
|
28
|
+
[project]
|
|
29
|
+
dependencies = [
|
|
30
|
+
"mkdocstrings[python]>=0.18",
|
|
31
|
+
]
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
You can also explicitly depend on the handler:
|
|
35
|
+
|
|
36
|
+
```toml title="pyproject.toml"
|
|
37
|
+
# PEP 621 dependencies declaration
|
|
38
|
+
# adapt to your dependencies manager
|
|
39
|
+
[project]
|
|
40
|
+
dependencies = [
|
|
41
|
+
"mkdocstrings-python",
|
|
42
|
+
]
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Preview
|
|
46
|
+
|
|
47
|
+
<!-- TODO: update the GIF with a more recent screen capture. Maybe use mp4 instead -->
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
## Features
|
|
51
|
+
|
|
52
|
+
- **Data collection from source code**: collection of the object-tree and the docstrings is done thanks to
|
|
53
|
+
[Griffe](https://github.com/mkdocstrings/griffe).
|
|
54
|
+
|
|
55
|
+
- **Support for type annotations:** Griffe collects your type annotations and *mkdocstrings* uses them
|
|
56
|
+
to display parameter types or return types. It is even able to automatically add cross-references
|
|
57
|
+
to other objects from your API, from the standard library or third-party libraries!
|
|
58
|
+
See [how to load inventories](https://mkdocstrings.github.io/usage/#cross-references-to-other-projects-inventories) to enable it.
|
|
59
|
+
|
|
60
|
+
- **Recursive documentation of Python objects:** just use the module dotted-path as an identifier, and you get the full
|
|
61
|
+
module docs. You don't need to inject documentation for each class, function, etc.
|
|
62
|
+
|
|
63
|
+
- **Support for documented attributes:** attributes (variables) followed by a docstring (triple-quoted string) will
|
|
64
|
+
be recognized by Griffe in modules, classes and even in `__init__` methods.
|
|
65
|
+
|
|
66
|
+
- **Multiple docstring-styles support:** common support for Google-style, Numpydoc-style,
|
|
67
|
+
and Sphinx-style docstrings. See [Griffe's documentation](https://mkdocstrings.github.io/griffe/docstrings/) on docstrings support.
|
|
68
|
+
|
|
69
|
+
- **Admonition support in Google docstrings:** blocks like `Note:` or `Warning:` will be transformed
|
|
70
|
+
to their [admonition](https://squidfunk.github.io/mkdocs-material/reference/admonitions/) equivalent.
|
|
71
|
+
*We do not support nested admonitions in docstrings!*
|
|
72
|
+
|
|
73
|
+
- **Every object has a TOC entry:** we render a heading for each object, meaning *MkDocs* picks them into the Table
|
|
74
|
+
of Contents, which is nicely displayed by the Material theme. Thanks to *mkdocstrings* cross-reference ability,
|
|
75
|
+
you can reference other objects within your docstrings, with the classic Markdown syntax:
|
|
76
|
+
`[this object][package.module.object]` or directly with `[package.module.object][]`
|
|
77
|
+
|
|
78
|
+
- **Source code display:** *mkdocstrings* can add a collapsible div containing the highlighted source code
|
|
79
|
+
of the Python object.
|
|
80
|
+
|
|
81
|
+
## Sponsors
|
|
82
|
+
|
|
83
|
+
<!-- sponsors-start -->
|
|
84
|
+
|
|
85
|
+
<div id="premium-sponsors" style="text-align: center;">
|
|
86
|
+
|
|
87
|
+
<div id="silver-sponsors"><b>Silver sponsors</b><p>
|
|
88
|
+
<a href="https://squidfunk.github.io/mkdocs-material/"><img alt="Material for MkDocs" src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.svg" style="height: 320px; "></a><br>
|
|
89
|
+
<a href="https://fastapi.tiangolo.com/"><img alt="FastAPI" src="https://raw.githubusercontent.com/tiangolo/fastapi/master/docs/en/docs/img/logo-margin/logo-teal.png" style="height: 200px; "></a><br>
|
|
90
|
+
<a href="https://docs.pydantic.dev/latest/"><img alt="Pydantic" src="https://pydantic.dev/assets/for-external/pydantic_logfire_logo_endorsed_lithium_rgb.svg" style="height: 180px; "></a><br>
|
|
91
|
+
</p></div>
|
|
92
|
+
|
|
93
|
+
<div id="bronze-sponsors"><b>Bronze sponsors</b><p>
|
|
94
|
+
<a href="https://www.nixtla.io/"><picture><source media="(prefers-color-scheme: light)" srcset="https://www.nixtla.io/img/logo/full-black.svg"><source media="(prefers-color-scheme: dark)" srcset="https://www.nixtla.io/img/logo/full-white.svg"><img alt="Nixtla" src="https://www.nixtla.io/img/logo/full-black.svg" style="height: 60px; "></picture></a><br>
|
|
95
|
+
</p></div>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
<div id="sponsors"><p>
|
|
101
|
+
<a href="https://github.com/ofek"><img alt="ofek" src="https://avatars.githubusercontent.com/u/9677399?u=386c330f212ce467ce7119d9615c75d0e9b9f1ce&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
102
|
+
<a href="https://github.com/samuelcolvin"><img alt="samuelcolvin" src="https://avatars.githubusercontent.com/u/4039449?u=42eb3b833047c8c4b4f647a031eaef148c16d93f&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
103
|
+
<a href="https://github.com/tlambert03"><img alt="tlambert03" src="https://avatars.githubusercontent.com/u/1609449?u=922abf0524b47739b37095e553c99488814b05db&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
104
|
+
<a href="https://github.com/ssbarnea"><img alt="ssbarnea" src="https://avatars.githubusercontent.com/u/102495?u=c7bd9ddf127785286fc939dd18cb02db0a453bce&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
105
|
+
<a href="https://github.com/femtomc"><img alt="femtomc" src="https://avatars.githubusercontent.com/u/34410036?u=f13a71daf2a9f0d2da189beaa94250daa629e2d8&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
106
|
+
<a href="https://github.com/cmarqu"><img alt="cmarqu" src="https://avatars.githubusercontent.com/u/360986?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
107
|
+
<a href="https://github.com/kolenaIO"><img alt="kolenaIO" src="https://avatars.githubusercontent.com/u/77010818?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
108
|
+
<a href="https://github.com/ramnes"><img alt="ramnes" src="https://avatars.githubusercontent.com/u/835072?u=3fca03c3ba0051e2eb652b1def2188a94d1e1dc2&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
109
|
+
<a href="https://github.com/machow"><img alt="machow" src="https://avatars.githubusercontent.com/u/2574498?u=c41e3d2f758a05102d8075e38d67b9c17d4189d7&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
110
|
+
<a href="https://github.com/BenHammersley"><img alt="BenHammersley" src="https://avatars.githubusercontent.com/u/99436?u=4499a7b507541045222ee28ae122dbe3c8d08ab5&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
111
|
+
<a href="https://github.com/trevorWieland"><img alt="trevorWieland" src="https://avatars.githubusercontent.com/u/28811461?u=74cc0e3756c1d4e3d66b5c396e1d131ea8a10472&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
112
|
+
<a href="https://github.com/laenan8466"><img alt="laenan8466" src="https://avatars.githubusercontent.com/u/21331242?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
113
|
+
<a href="https://github.com/MarcoGorelli"><img alt="MarcoGorelli" src="https://avatars.githubusercontent.com/u/33491632?u=7de3a749cac76a60baca9777baf71d043a4f884d&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
114
|
+
<a href="https://github.com/analog-cbarber"><img alt="analog-cbarber" src="https://avatars.githubusercontent.com/u/7408243?u=642fc2bdcc9904089c62fe5aec4e03ace32da67d&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
115
|
+
<a href="https://github.com/OdinManiac"><img alt="OdinManiac" src="https://avatars.githubusercontent.com/u/22727172?u=36ab20970f7f52ae8e7eb67b7fcf491fee01ac22&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
116
|
+
<a href="https://github.com/rstudio-sponsorship"><img alt="rstudio-sponsorship" src="https://avatars.githubusercontent.com/u/58949051?u=0c471515dd18111be30dfb7669ed5e778970959b&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
117
|
+
<a href="https://github.com/schlich"><img alt="schlich" src="https://avatars.githubusercontent.com/u/21191435?u=6f1240adb68f21614d809ae52d66509f46b1e877&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
118
|
+
<a href="https://github.com/SuperCowPowers"><img alt="SuperCowPowers" src="https://avatars.githubusercontent.com/u/6900187?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
119
|
+
<a href="https://github.com/butterlyn"><img alt="butterlyn" src="https://avatars.githubusercontent.com/u/53323535?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
120
|
+
<a href="https://github.com/livingbio"><img alt="livingbio" src="https://avatars.githubusercontent.com/u/10329983?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
121
|
+
<a href="https://github.com/NemetschekAllplan"><img alt="NemetschekAllplan" src="https://avatars.githubusercontent.com/u/912034?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
122
|
+
<a href="https://github.com/EricJayHartman"><img alt="EricJayHartman" src="https://avatars.githubusercontent.com/u/9259499?u=7e58cc7ec0cd3e85b27aec33656aa0f6612706dd&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
123
|
+
<a href="https://github.com/15r10nk"><img alt="15r10nk" src="https://avatars.githubusercontent.com/u/44680962?u=f04826446ff165742efa81e314bd03bf1724d50e&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
124
|
+
<a href="https://github.com/cdwilson"><img alt="cdwilson" src="https://avatars.githubusercontent.com/u/14631?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
125
|
+
<a href="https://github.com/activeloopai"><img alt="activeloopai" src="https://avatars.githubusercontent.com/u/34816118?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
126
|
+
<a href="https://github.com/roboflow"><img alt="roboflow" src="https://avatars.githubusercontent.com/u/53104118?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
127
|
+
<a href="https://github.com/wrath-codes"><img alt="wrath-codes" src="https://avatars.githubusercontent.com/u/90050913?u=b26582409dfff8ce2b60016fd119be09309708da&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
128
|
+
<a href="https://github.com/leodevian"><img alt="leodevian" src="https://avatars.githubusercontent.com/u/167141781?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
129
|
+
<a href="https://github.com/cmclaughlin"><img alt="cmclaughlin" src="https://avatars.githubusercontent.com/u/1061109?u=ddf6eec0edd2d11c980f8c3aa96e3d044d4e0468&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
130
|
+
<a href="https://github.com/blaisep"><img alt="blaisep" src="https://avatars.githubusercontent.com/u/254456?u=97d584b7c0a6faf583aa59975df4f993f671d121&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
131
|
+
<a href="https://github.com/RapidataAI"><img alt="RapidataAI" src="https://avatars.githubusercontent.com/u/104209891?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
132
|
+
<a href="https://github.com/rodolphebarbanneau"><img alt="rodolphebarbanneau" src="https://avatars.githubusercontent.com/u/46493454?u=6c405452a40c231cdf0b68e97544e07ee956a733&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
133
|
+
<a href="https://github.com/theSymbolSyndicate"><img alt="theSymbolSyndicate" src="https://avatars.githubusercontent.com/u/111542255?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
134
|
+
<a href="https://github.com/blakeNaccarato"><img alt="blakeNaccarato" src="https://avatars.githubusercontent.com/u/20692450?u=bb919218be30cfa994514f4cf39bb2f7cf952df4&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
135
|
+
<a href="https://github.com/ChargeStorm"><img alt="ChargeStorm" src="https://avatars.githubusercontent.com/u/26000165?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
136
|
+
<a href="https://github.com/Alphadelta14"><img alt="Alphadelta14" src="https://avatars.githubusercontent.com/u/480845?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
137
|
+
</p></div>
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
*And 8 more private sponsor(s).*
|
|
141
|
+
|
|
142
|
+
<!-- sponsors-end -->
|
|
@@ -24,14 +24,12 @@ from mkdocstrings_handlers.python._internal.rendering import (
|
|
|
24
24
|
do_as_modules_section,
|
|
25
25
|
do_as_type_aliases_section,
|
|
26
26
|
do_backlink_tree,
|
|
27
|
-
do_crossref,
|
|
28
27
|
do_filter_objects,
|
|
29
28
|
do_format_attribute,
|
|
30
29
|
do_format_code,
|
|
31
30
|
do_format_signature,
|
|
32
31
|
do_format_type_alias,
|
|
33
32
|
do_get_template,
|
|
34
|
-
do_multi_crossref,
|
|
35
33
|
do_order_members,
|
|
36
34
|
do_split_path,
|
|
37
35
|
do_stash_crossref,
|
|
@@ -59,14 +57,12 @@ __all__ = [
|
|
|
59
57
|
"do_as_modules_section",
|
|
60
58
|
"do_as_type_aliases_section",
|
|
61
59
|
"do_backlink_tree",
|
|
62
|
-
"do_crossref",
|
|
63
60
|
"do_filter_objects",
|
|
64
61
|
"do_format_attribute",
|
|
65
62
|
"do_format_code",
|
|
66
63
|
"do_format_signature",
|
|
67
64
|
"do_format_type_alias",
|
|
68
65
|
"do_get_template",
|
|
69
|
-
"do_multi_crossref",
|
|
70
66
|
"do_order_members",
|
|
71
67
|
"do_split_path",
|
|
72
68
|
"do_stash_crossref",
|
|
@@ -10,7 +10,6 @@ from contextlib import suppress
|
|
|
10
10
|
from dataclasses import asdict
|
|
11
11
|
from pathlib import Path
|
|
12
12
|
from typing import TYPE_CHECKING, Any, BinaryIO, ClassVar
|
|
13
|
-
from warnings import warn
|
|
14
13
|
|
|
15
14
|
from griffe import (
|
|
16
15
|
AliasResolutionError,
|
|
@@ -56,17 +55,6 @@ _logger = get_logger(__name__)
|
|
|
56
55
|
patch_loggers(get_logger)
|
|
57
56
|
|
|
58
57
|
|
|
59
|
-
# YORE: Bump 2: Remove block.
|
|
60
|
-
def _warn_extra_options(names: Sequence[str]) -> None:
|
|
61
|
-
warn(
|
|
62
|
-
"Passing extra options directly under `options` is deprecated. "
|
|
63
|
-
"Instead, pass them under `options.extra`, and update your templates. "
|
|
64
|
-
f"Current extra (unrecognized) options: {', '.join(sorted(names))}",
|
|
65
|
-
DeprecationWarning,
|
|
66
|
-
stacklevel=3,
|
|
67
|
-
)
|
|
68
|
-
|
|
69
|
-
|
|
70
58
|
class PythonHandler(BaseHandler):
|
|
71
59
|
"""The Python handler class."""
|
|
72
60
|
|
|
@@ -97,18 +85,9 @@ class PythonHandler(BaseHandler):
|
|
|
97
85
|
self.base_dir = base_dir
|
|
98
86
|
"""The base directory of the project."""
|
|
99
87
|
|
|
100
|
-
|
|
101
|
-
global_extra, global_options = PythonOptions._extract_extra(config.options)
|
|
102
|
-
if global_extra:
|
|
103
|
-
_warn_extra_options(global_extra.keys()) # type: ignore[arg-type]
|
|
104
|
-
self._global_extra = global_extra
|
|
105
|
-
self.global_options = global_options
|
|
88
|
+
self.global_options = config.options
|
|
106
89
|
"""The global configuration options (in `mkdocs.yml`)."""
|
|
107
90
|
|
|
108
|
-
# YORE: Bump 2: Replace `# ` with `` within block.
|
|
109
|
-
# self.global_options = config.options
|
|
110
|
-
# """The global configuration options (in `mkdocs.yml`)."""
|
|
111
|
-
|
|
112
91
|
# Warn if user overrides base templates.
|
|
113
92
|
if self.custom_templates:
|
|
114
93
|
for theme_dir in base_dir.joinpath(self.custom_templates, "python").iterdir():
|
|
@@ -188,25 +167,13 @@ class PythonHandler(BaseHandler):
|
|
|
188
167
|
Returns:
|
|
189
168
|
The combined options.
|
|
190
169
|
"""
|
|
191
|
-
# YORE: Bump 2: Remove block.
|
|
192
|
-
local_extra, local_options = PythonOptions._extract_extra(local_options) # type: ignore[arg-type]
|
|
193
|
-
if local_extra:
|
|
194
|
-
_warn_extra_options(local_extra.keys()) # type: ignore[arg-type]
|
|
195
|
-
unknown_extra = self._global_extra | local_extra
|
|
196
|
-
|
|
197
170
|
extra = {**self.global_options.get("extra", {}), **local_options.get("extra", {})}
|
|
198
171
|
options = {**self.global_options, **local_options, "extra": extra}
|
|
199
172
|
try:
|
|
200
|
-
|
|
201
|
-
opts = PythonOptions.from_data(**options)
|
|
173
|
+
return PythonOptions.from_data(**options)
|
|
202
174
|
except Exception as error:
|
|
203
175
|
raise PluginError(f"Invalid options: {error}") from error
|
|
204
176
|
|
|
205
|
-
# YORE: Bump 2: Remove block.
|
|
206
|
-
for key, value in unknown_extra.items():
|
|
207
|
-
object.__setattr__(opts, key, value)
|
|
208
|
-
return opts
|
|
209
|
-
|
|
210
177
|
def collect(self, identifier: str, options: PythonOptions) -> CollectorItem:
|
|
211
178
|
"""Collect the documentation for the given identifier.
|
|
212
179
|
|
|
@@ -291,7 +258,7 @@ class PythonHandler(BaseHandler):
|
|
|
291
258
|
Returns:
|
|
292
259
|
The rendered data (HTML).
|
|
293
260
|
"""
|
|
294
|
-
template_name = rendering.do_get_template(
|
|
261
|
+
template_name = rendering.do_get_template(data)
|
|
295
262
|
template = self.env.get_template(template_name)
|
|
296
263
|
|
|
297
264
|
return template.render(
|
|
@@ -303,8 +270,7 @@ class PythonHandler(BaseHandler):
|
|
|
303
270
|
# than as an item in a dictionary.
|
|
304
271
|
"heading_level": options.heading_level,
|
|
305
272
|
"root": True,
|
|
306
|
-
|
|
307
|
-
"locale": locale or self.config.locale,
|
|
273
|
+
"locale": locale or "en",
|
|
308
274
|
},
|
|
309
275
|
)
|
|
310
276
|
|
|
@@ -336,8 +302,6 @@ class PythonHandler(BaseHandler):
|
|
|
336
302
|
self.env.lstrip_blocks = True
|
|
337
303
|
self.env.keep_trailing_newline = False
|
|
338
304
|
self.env.filters["split_path"] = rendering.do_split_path
|
|
339
|
-
self.env.filters["crossref"] = rendering.do_crossref
|
|
340
|
-
self.env.filters["multi_crossref"] = rendering.do_multi_crossref
|
|
341
305
|
self.env.filters["order_members"] = rendering.do_order_members
|
|
342
306
|
self.env.filters["format_code"] = rendering.do_format_code
|
|
343
307
|
self.env.filters["format_signature"] = rendering.do_format_signature
|
|
@@ -434,10 +398,7 @@ def get_handler(
|
|
|
434
398
|
# We therefore increase the limit here, once, before Griffe is used to collect or render stuff.
|
|
435
399
|
sys.setrecursionlimit(max(sys.getrecursionlimit(), 2000))
|
|
436
400
|
|
|
437
|
-
base_dir = Path(tool_config
|
|
438
|
-
if "inventories" not in handler_config and "import" in handler_config:
|
|
439
|
-
warn("The 'import' key is renamed 'inventories' for the Python handler", FutureWarning, stacklevel=1)
|
|
440
|
-
handler_config["inventories"] = handler_config.pop("import", [])
|
|
401
|
+
base_dir = Path(getattr(tool_config, "config_file_path", None) or "./mkdocs.yml").parent
|
|
441
402
|
return PythonHandler(
|
|
442
403
|
config=PythonConfig.from_data(**handler_config),
|
|
443
404
|
base_dir=base_dir,
|