mkdocstrings-python 1.11.1__tar.gz → 1.12.1__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.11.1 → mkdocstrings_python-1.12.1}/CHANGELOG.md +26 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/CONTRIBUTING.md +2 -3
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/PKG-INFO +4 -3
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/config/ruff.toml +1 -1
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/configuration/headings.md +0 -1
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/configuration/members.md +0 -1
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/duties.py +17 -5
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/mkdocs.yml +3 -2
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/pyproject.toml +32 -4
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/scripts/gen_credits.py +6 -6
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/scripts/insiders.py +4 -1
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/scripts/make +42 -62
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/handler.py +11 -3
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/rendering.py +93 -68
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/class.html.jinja +8 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html.jinja +43 -3
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/expression.html.jinja +31 -3
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/function.html.jinja +11 -1
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/module.html.jinja +8 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/signature.html.jinja +43 -4
- mkdocstrings_python-1.12.1/src/mkdocstrings_handlers/python/templates/material/_base/summary/attributes.html.jinja +21 -0
- mkdocstrings_python-1.12.1/src/mkdocstrings_handlers/python/templates/material/_base/summary/classes.html.jinja +21 -0
- mkdocstrings_python-1.12.1/src/mkdocstrings_handlers/python/templates/material/_base/summary/functions.html.jinja +21 -0
- mkdocstrings_python-1.12.1/src/mkdocstrings_handlers/python/templates/material/_base/summary/modules.html.jinja +21 -0
- mkdocstrings_python-1.12.1/src/mkdocstrings_handlers/python/templates/material/_base/summary.html.jinja +26 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/style.css +25 -1
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/language.html.jinja +5 -5
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/tests/conftest.py +2 -1
- mkdocstrings_python-1.11.1/devdeps.txt +0 -32
- mkdocstrings_python-1.11.1/scripts/.cache/plugin/git-committers/page-authors.json +0 -1
- mkdocstrings_python-1.11.1/src/mkdocstrings_handlers/python/templates/material/_base/summary/attributes.html.jinja +0 -8
- mkdocstrings_python-1.11.1/src/mkdocstrings_handlers/python/templates/material/_base/summary/classes.html.jinja +0 -8
- mkdocstrings_python-1.11.1/src/mkdocstrings_handlers/python/templates/material/_base/summary/functions.html.jinja +0 -8
- mkdocstrings_python-1.11.1/src/mkdocstrings_handlers/python/templates/material/_base/summary/modules.html.jinja +0 -8
- mkdocstrings_python-1.11.1/src/mkdocstrings_handlers/python/templates/material/_base/summary.html.jinja +0 -8
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/CODE_OF_CONDUCT.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/LICENSE +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/README.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/config/black.toml +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/config/coverage.ini +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/config/git-changelog.toml +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/config/mypy.ini +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/config/pytest.ini +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/config/vscode/launch.json +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/config/vscode/settings.json +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/config/vscode/tasks.json +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/.glossary.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/.overrides/main.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/.overrides/partials/comments.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/changelog.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/code_of_conduct.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/contributing.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/credits.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/css/insiders.css +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/css/material.css +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/css/mkdocstrings.css +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/index.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/insiders/changelog.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/insiders/goals.yml +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/insiders/index.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/insiders/installation.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/js/feedback.js +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/js/insiders.js +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/license.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/logo.png +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/schema.json +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/snippets/package/__init__.py +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/snippets/package/modern.py +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/configuration/docstrings.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/configuration/general.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/configuration/signatures.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/customization.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/docstrings/google.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/docstrings/numpy.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/docstrings/sphinx.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/extensions.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/index.md +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/scripts/gen_ref_nav.py +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/__init__.py +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/debug.py +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/py.typed +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/attribute.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/attribute.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/children.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/children.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/class.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/classes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/classes.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/functions.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/functions.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/modules.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/modules.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/docstring.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/expression.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/function.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/labels.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/labels.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/language.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/language.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/languages/en.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/languages/ja.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/languages/zh.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/module.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/signature.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/summary/attributes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/summary/classes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/summary/functions.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/summary/modules.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/_base/summary.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/attribute.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/attribute.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/children.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/children.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/class.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/class.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/admonition.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/admonition.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/attributes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/classes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/classes.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/examples.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/examples.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/functions.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/functions.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/modules.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/modules.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/other_parameters.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/parameters.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/parameters.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/raises.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/receives.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/returns.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/warns.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/yields.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/docstring.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/expression.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/expression.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/function.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/function.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/labels.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/labels.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/language.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/language.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/languages/en.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/languages/ja.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/languages/zh.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/module.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/module.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/signature.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/signature.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary/attributes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary/classes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary/classes.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary/functions.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary/functions.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary/modules.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary/modules.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/material/summary.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/attributes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/other_parameters.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/parameters.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/parameters.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/raises.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/receives.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/returns.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/warns.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/yields.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/language.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/en.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/ja.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/zh.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/attributes.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/other_parameters.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/parameters.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/parameters.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/raises.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/receives.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/returns.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/warns.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/yields.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/language.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/language.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/en.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/ja.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/zh.html +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/src/mkdocstrings_handlers/python/templates/readthedocs/style.css +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/tests/__init__.py +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/tests/test_handler.py +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/tests/test_rendering.py +0 -0
- {mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/tests/test_themes.py +0 -0
|
@@ -5,6 +5,32 @@ 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
|
+
## [1.12.1](https://github.com/mkdocstrings/python/releases/tag/1.12.1) - 2024-10-14
|
|
9
|
+
|
|
10
|
+
<small>[Compare with 1.12.0](https://github.com/mkdocstrings/python/compare/1.12.0...1.12.1)</small>
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- Don't escape parameter default values ([9dee4d4](https://github.com/mkdocstrings/python/commit/9dee4d4f8e1258e99c19dc7b2b18d3e9090de79b) by Timothée Mazzucotelli). [Issue-191](https://github.com/mkdocstrings/python/issues/191)
|
|
15
|
+
|
|
16
|
+
## [1.12.0](https://github.com/mkdocstrings/python/releases/tag/1.12.0) - 2024-10-12
|
|
17
|
+
|
|
18
|
+
<small>[Compare with 1.11.1](https://github.com/mkdocstrings/python/compare/1.11.1...1.12.0)</small>
|
|
19
|
+
|
|
20
|
+
### Build
|
|
21
|
+
|
|
22
|
+
- Drop support for Python 3.8 ([6615c91](https://github.com/mkdocstrings/python/commit/6615c91cdc035bc0c2fdd12f3952ff84f5e1c04e) by Timothée Mazzucotelli).
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
- Auto-summary of members ([7f9757d](https://github.com/mkdocstrings/python/commit/7f9757d1584555edebc56f1aefe6cc8242e6c8bb) by Timothée Mazzucotelli).
|
|
27
|
+
- Render function overloads ([0f2c25c](https://github.com/mkdocstrings/python/commit/0f2c25c9ed7f6c5c93ff13df214f02edfd3a4cb1) by Timothée Mazzucotelli).
|
|
28
|
+
- Parameter headings, more automatic cross-references ([0176b83](https://github.com/mkdocstrings/python/commit/0176b83f21ae02d345489c93cca3baf51f8bc58c) by Timothée Mazzucotelli).
|
|
29
|
+
|
|
30
|
+
### Code Refactoring
|
|
31
|
+
|
|
32
|
+
- Declare default CSS symbol colors under :host as well ([3b9dba2](https://github.com/mkdocstrings/python/commit/3b9dba2709a8668e379c6ce1536cb1714971b3f4) by James McDonnell). [PR-186](https://github.com/mkdocstrings/python/pull/186)
|
|
33
|
+
|
|
8
34
|
## [1.11.1](https://github.com/mkdocstrings/python/releases/tag/1.11.1) - 2024-09-03
|
|
9
35
|
|
|
10
36
|
<small>[Compare with 1.11.0](https://github.com/mkdocstrings/python/compare/1.11.0...1.11.1)</small>
|
|
@@ -23,12 +23,11 @@ make setup
|
|
|
23
23
|
> You can install it with:
|
|
24
24
|
>
|
|
25
25
|
> ```bash
|
|
26
|
-
>
|
|
27
|
-
> pipx install uv
|
|
26
|
+
> curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
28
27
|
> ```
|
|
29
28
|
>
|
|
30
29
|
> Now you can try running `make setup` again,
|
|
31
|
-
> or simply `uv
|
|
30
|
+
> or simply `uv sync`.
|
|
32
31
|
|
|
33
32
|
You now have the dependencies installed.
|
|
34
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mkdocstrings-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.12.1
|
|
4
4
|
Summary: A Python handler for mkdocstrings.
|
|
5
5
|
Author-Email: =?utf-8?q?Timoth=C3=A9e_Mazzucotelli?= <dev@pawamoy.fr>
|
|
6
6
|
License: ISC
|
|
@@ -9,14 +9,15 @@ Classifier: Intended Audience :: Developers
|
|
|
9
9
|
Classifier: Programming Language :: Python
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
18
|
Classifier: Topic :: Documentation
|
|
19
19
|
Classifier: Topic :: Software Development
|
|
20
|
+
Classifier: Topic :: Software Development :: Documentation
|
|
20
21
|
Classifier: Topic :: Utilities
|
|
21
22
|
Classifier: Typing :: Typed
|
|
22
23
|
Project-URL: Homepage, https://mkdocstrings.github.io/python
|
|
@@ -27,7 +28,7 @@ Project-URL: Issues, https://github.com/mkdocstrings/python/issues
|
|
|
27
28
|
Project-URL: Discussions, https://github.com/mkdocstrings/python/discussions
|
|
28
29
|
Project-URL: Gitter, https://gitter.im/mkdocstrings/python
|
|
29
30
|
Project-URL: Funding, https://github.com/sponsors/pawamoy
|
|
30
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.9
|
|
31
32
|
Requires-Dist: mkdocstrings>=0.26
|
|
32
33
|
Requires-Dist: mkdocs-autorefs>=1.2
|
|
33
34
|
Requires-Dist: griffe>=0.49
|
{mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/configuration/headings.md
RENAMED
|
@@ -59,7 +59,6 @@ plugins:
|
|
|
59
59
|
|
|
60
60
|
## `parameter_headings`
|
|
61
61
|
|
|
62
|
-
[:octicons-heart-fill-24:{ .pulse } Sponsors only](../../insiders/index.md){ .insiders } —
|
|
63
62
|
[:octicons-tag-24: Insiders 1.6.0](../../insiders/changelog.md#1.6.0)
|
|
64
63
|
|
|
65
64
|
- **:octicons-package-24: Type [`bool`][] :material-equal: `False`{ title="default value" }**
|
{mkdocstrings_python-1.11.1 → mkdocstrings_python-1.12.1}/docs/usage/configuration/members.md
RENAMED
|
@@ -552,7 +552,6 @@ package
|
|
|
552
552
|
|
|
553
553
|
## `summary`
|
|
554
554
|
|
|
555
|
-
[:octicons-heart-fill-24:{ .pulse } Sponsors only](../../insiders/index.md){ .insiders } —
|
|
556
555
|
[:octicons-tag-24: Insiders 1.2.0](../../insiders/changelog.md#1.2.0)
|
|
557
556
|
|
|
558
557
|
- **:octicons-package-24: Type <code><autoref identifier="bool" optional>bool</autoref> | <autoref identifier="dict" optional>dict</autoref>[<autoref identifier="str" optional>str</autoref>, <autoref identifier="bool" optional>bool</autoref>]</code> :material-equal: `False`{ title="default value" }**
|
|
@@ -7,11 +7,13 @@ import sys
|
|
|
7
7
|
from contextlib import contextmanager
|
|
8
8
|
from importlib.metadata import version as pkgversion
|
|
9
9
|
from pathlib import Path
|
|
10
|
-
from typing import TYPE_CHECKING
|
|
10
|
+
from typing import TYPE_CHECKING
|
|
11
11
|
|
|
12
12
|
from duty import duty, tools
|
|
13
13
|
|
|
14
14
|
if TYPE_CHECKING:
|
|
15
|
+
from collections.abc import Iterator
|
|
16
|
+
|
|
15
17
|
from duty.context import Context
|
|
16
18
|
|
|
17
19
|
|
|
@@ -53,7 +55,7 @@ def changelog(ctx: Context, bump: str = "") -> None:
|
|
|
53
55
|
ctx.run(tools.git_changelog(bump=bump or None), title="Updating changelog")
|
|
54
56
|
|
|
55
57
|
|
|
56
|
-
@duty(pre=["
|
|
58
|
+
@duty(pre=["check-quality", "check-types", "check-docs", "check-api"])
|
|
57
59
|
def check(ctx: Context) -> None:
|
|
58
60
|
"""Check it all!"""
|
|
59
61
|
|
|
@@ -116,23 +118,33 @@ def docs(ctx: Context, *cli_args: str, host: str = "127.0.0.1", port: int = 8000
|
|
|
116
118
|
|
|
117
119
|
|
|
118
120
|
@duty
|
|
119
|
-
def docs_deploy(ctx: Context) -> None:
|
|
120
|
-
"""Deploy the documentation to GitHub pages.
|
|
121
|
+
def docs_deploy(ctx: Context, *, force: bool = False) -> None:
|
|
122
|
+
"""Deploy the documentation to GitHub pages.
|
|
123
|
+
|
|
124
|
+
Parameters:
|
|
125
|
+
force: Whether to force deployment, even from non-Insiders version.
|
|
126
|
+
"""
|
|
121
127
|
os.environ["DEPLOY"] = "true"
|
|
122
128
|
with material_insiders() as insiders:
|
|
123
129
|
if not insiders:
|
|
124
130
|
ctx.run(lambda: False, title="Not deploying docs without Material for MkDocs Insiders!")
|
|
125
|
-
origin = ctx.run("git config --get remote.origin.url", silent=True)
|
|
131
|
+
origin = ctx.run("git config --get remote.origin.url", silent=True, allow_overrides=False)
|
|
126
132
|
if "pawamoy-insiders/mkdocstrings-python" in origin:
|
|
127
133
|
ctx.run(
|
|
128
134
|
"git remote add upstream git@github.com:mkdocstrings/python",
|
|
129
135
|
silent=True,
|
|
130
136
|
nofail=True,
|
|
137
|
+
allow_overrides=False,
|
|
131
138
|
)
|
|
132
139
|
ctx.run(
|
|
133
140
|
tools.mkdocs.gh_deploy(remote_name="upstream", force=True),
|
|
134
141
|
title="Deploying documentation",
|
|
135
142
|
)
|
|
143
|
+
elif force:
|
|
144
|
+
ctx.run(
|
|
145
|
+
tools.mkdocs.gh_deploy(force=True),
|
|
146
|
+
title="Deploying documentation",
|
|
147
|
+
)
|
|
136
148
|
else:
|
|
137
149
|
ctx.run(
|
|
138
150
|
lambda: False,
|
|
@@ -180,9 +180,10 @@ plugins:
|
|
|
180
180
|
signature_crossrefs: true
|
|
181
181
|
summary: true
|
|
182
182
|
unwrap_annotated: true
|
|
183
|
-
- git-
|
|
183
|
+
- git-revision-date-localized:
|
|
184
184
|
enabled: !ENV [DEPLOY, false]
|
|
185
|
-
|
|
185
|
+
enable_creation_date: true
|
|
186
|
+
type: timeago
|
|
186
187
|
- minify:
|
|
187
188
|
minify_html: !ENV [DEPLOY, false]
|
|
188
189
|
- group:
|
|
@@ -11,7 +11,7 @@ authors = [
|
|
|
11
11
|
{ name = "Timothée Mazzucotelli", email = "dev@pawamoy.fr" },
|
|
12
12
|
]
|
|
13
13
|
readme = "README.md"
|
|
14
|
-
requires-python = ">=3.
|
|
14
|
+
requires-python = ">=3.9"
|
|
15
15
|
keywords = []
|
|
16
16
|
dynamic = []
|
|
17
17
|
classifiers = [
|
|
@@ -20,14 +20,15 @@ classifiers = [
|
|
|
20
20
|
"Programming Language :: Python",
|
|
21
21
|
"Programming Language :: Python :: 3",
|
|
22
22
|
"Programming Language :: Python :: 3 :: Only",
|
|
23
|
-
"Programming Language :: Python :: 3.8",
|
|
24
23
|
"Programming Language :: Python :: 3.9",
|
|
25
24
|
"Programming Language :: Python :: 3.10",
|
|
26
25
|
"Programming Language :: Python :: 3.11",
|
|
27
26
|
"Programming Language :: Python :: 3.12",
|
|
28
27
|
"Programming Language :: Python :: 3.13",
|
|
28
|
+
"Programming Language :: Python :: 3.14",
|
|
29
29
|
"Topic :: Documentation",
|
|
30
30
|
"Topic :: Software Development",
|
|
31
|
+
"Topic :: Software Development :: Documentation",
|
|
31
32
|
"Topic :: Utilities",
|
|
32
33
|
"Typing :: Typed",
|
|
33
34
|
]
|
|
@@ -36,7 +37,7 @@ dependencies = [
|
|
|
36
37
|
"mkdocs-autorefs>=1.2",
|
|
37
38
|
"griffe>=0.49",
|
|
38
39
|
]
|
|
39
|
-
version = "1.
|
|
40
|
+
version = "1.12.1"
|
|
40
41
|
|
|
41
42
|
[project.license]
|
|
42
43
|
text = "ISC"
|
|
@@ -69,7 +70,6 @@ source-includes = [
|
|
|
69
70
|
"scripts",
|
|
70
71
|
"share",
|
|
71
72
|
"tests",
|
|
72
|
-
"devdeps.txt",
|
|
73
73
|
"duties.py",
|
|
74
74
|
"mkdocs.yml",
|
|
75
75
|
"*.md",
|
|
@@ -80,3 +80,31 @@ source-includes = [
|
|
|
80
80
|
data = [
|
|
81
81
|
{ path = "share/**/*", relative-to = "." },
|
|
82
82
|
]
|
|
83
|
+
|
|
84
|
+
[tool.uv]
|
|
85
|
+
dev-dependencies = [
|
|
86
|
+
"editables>=0.5",
|
|
87
|
+
"build>=1.2",
|
|
88
|
+
"git-changelog>=2.5",
|
|
89
|
+
"twine>=5.1",
|
|
90
|
+
"duty>=1.4",
|
|
91
|
+
"ruff>=0.4",
|
|
92
|
+
"pytest>=8.2",
|
|
93
|
+
"pytest-cov>=5.0",
|
|
94
|
+
"pytest-randomly>=3.15",
|
|
95
|
+
"pytest-xdist>=3.6",
|
|
96
|
+
"mypy>=1.10",
|
|
97
|
+
"types-markdown>=3.6",
|
|
98
|
+
"types-pyyaml>=6.0",
|
|
99
|
+
"black>=24.4",
|
|
100
|
+
"markdown-callouts>=0.4",
|
|
101
|
+
"markdown-exec>=1.8",
|
|
102
|
+
"mkdocs>=1.6",
|
|
103
|
+
"mkdocs-coverage>=1.0",
|
|
104
|
+
"mkdocs-gen-files>=0.5",
|
|
105
|
+
"mkdocs-git-revision-date-localized-plugin>=1.2",
|
|
106
|
+
"mkdocs-literate-nav>=0.6",
|
|
107
|
+
"mkdocs-material>=9.5",
|
|
108
|
+
"mkdocs-minify-plugin>=0.8",
|
|
109
|
+
"tomli>=2.0; python_version < '3.11'",
|
|
110
|
+
]
|
|
@@ -5,17 +5,18 @@ from __future__ import annotations
|
|
|
5
5
|
import os
|
|
6
6
|
import sys
|
|
7
7
|
from collections import defaultdict
|
|
8
|
+
from collections.abc import Iterable
|
|
8
9
|
from importlib.metadata import distributions
|
|
9
10
|
from itertools import chain
|
|
10
11
|
from pathlib import Path
|
|
11
12
|
from textwrap import dedent
|
|
12
|
-
from typing import
|
|
13
|
+
from typing import Union
|
|
13
14
|
|
|
14
15
|
from jinja2 import StrictUndefined
|
|
15
16
|
from jinja2.sandbox import SandboxedEnvironment
|
|
16
17
|
from packaging.requirements import Requirement
|
|
17
18
|
|
|
18
|
-
#
|
|
19
|
+
# YORE: EOL 3.10: Replace block with line 2.
|
|
19
20
|
if sys.version_info >= (3, 11):
|
|
20
21
|
import tomllib
|
|
21
22
|
else:
|
|
@@ -26,11 +27,10 @@ with project_dir.joinpath("pyproject.toml").open("rb") as pyproject_file:
|
|
|
26
27
|
pyproject = tomllib.load(pyproject_file)
|
|
27
28
|
project = pyproject["project"]
|
|
28
29
|
project_name = project["name"]
|
|
29
|
-
|
|
30
|
-
devdeps = [line.strip() for line in devdeps_file if line.strip() and not line.strip().startswith(("-e", "#"))]
|
|
30
|
+
devdeps = [dep for dep in pyproject["tool"]["uv"]["dev-dependencies"] if not dep.startswith("-e")]
|
|
31
31
|
|
|
32
|
-
PackageMetadata =
|
|
33
|
-
Metadata =
|
|
32
|
+
PackageMetadata = dict[str, Union[str, Iterable[str]]]
|
|
33
|
+
Metadata = dict[str, PackageMetadata]
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
def _merge_fields(metadata: dict) -> PackageMetadata:
|
|
@@ -10,13 +10,16 @@ from dataclasses import dataclass
|
|
|
10
10
|
from datetime import date, datetime, timedelta
|
|
11
11
|
from itertools import chain
|
|
12
12
|
from pathlib import Path
|
|
13
|
-
from typing import
|
|
13
|
+
from typing import TYPE_CHECKING, cast
|
|
14
14
|
from urllib.error import HTTPError
|
|
15
15
|
from urllib.parse import urljoin
|
|
16
16
|
from urllib.request import urlopen
|
|
17
17
|
|
|
18
18
|
import yaml
|
|
19
19
|
|
|
20
|
+
if TYPE_CHECKING:
|
|
21
|
+
from collections.abc import Iterable
|
|
22
|
+
|
|
20
23
|
logger = logging.getLogger(f"mkdocs.logs.{__name__}")
|
|
21
24
|
|
|
22
25
|
|
|
@@ -9,12 +9,10 @@ import subprocess
|
|
|
9
9
|
import sys
|
|
10
10
|
from contextlib import contextmanager
|
|
11
11
|
from pathlib import Path
|
|
12
|
+
from textwrap import dedent
|
|
12
13
|
from typing import Any, Iterator
|
|
13
14
|
|
|
14
|
-
PYTHON_VERSIONS = os.getenv("PYTHON_VERSIONS", "3.
|
|
15
|
-
|
|
16
|
-
exe = ""
|
|
17
|
-
prefix = ""
|
|
15
|
+
PYTHON_VERSIONS = os.getenv("PYTHON_VERSIONS", "3.9 3.10 3.11 3.12 3.13 3.14").split()
|
|
18
16
|
|
|
19
17
|
|
|
20
18
|
def shell(cmd: str, capture_output: bool = False, **kwargs: Any) -> str | None:
|
|
@@ -37,17 +35,13 @@ def environ(**kwargs: str) -> Iterator[None]:
|
|
|
37
35
|
os.environ.update(original)
|
|
38
36
|
|
|
39
37
|
|
|
40
|
-
def uv_install() -> None:
|
|
38
|
+
def uv_install(venv: Path) -> None:
|
|
41
39
|
"""Install dependencies using uv."""
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
if "CI" not in os.environ:
|
|
48
|
-
shell("uv pip install --no-deps -e .")
|
|
49
|
-
else:
|
|
50
|
-
shell("uv pip install --no-deps .")
|
|
40
|
+
with environ(UV_PROJECT_ENVIRONMENT=str(venv), PYO3_USE_ABI3_FORWARD_COMPATIBILITY="1"):
|
|
41
|
+
if "CI" in os.environ:
|
|
42
|
+
shell("uv sync --no-editable")
|
|
43
|
+
else:
|
|
44
|
+
shell("uv sync")
|
|
51
45
|
|
|
52
46
|
|
|
53
47
|
def setup() -> None:
|
|
@@ -59,7 +53,7 @@ def setup() -> None:
|
|
|
59
53
|
default_venv = Path(".venv")
|
|
60
54
|
if not default_venv.exists():
|
|
61
55
|
shell("uv venv --python python")
|
|
62
|
-
uv_install()
|
|
56
|
+
uv_install(default_venv)
|
|
63
57
|
|
|
64
58
|
if PYTHON_VERSIONS:
|
|
65
59
|
for version in PYTHON_VERSIONS:
|
|
@@ -67,39 +61,22 @@ def setup() -> None:
|
|
|
67
61
|
venv_path = Path(f".venvs/{version}")
|
|
68
62
|
if not venv_path.exists():
|
|
69
63
|
shell(f"uv venv --python {version} {venv_path}")
|
|
70
|
-
with environ(
|
|
71
|
-
uv_install()
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
def activate(path: str) -> None:
|
|
75
|
-
"""Activate a virtual environment."""
|
|
76
|
-
global exe, prefix # noqa: PLW0603
|
|
77
|
-
|
|
78
|
-
if (bin := Path(path, "bin")).exists():
|
|
79
|
-
activate_script = bin / "activate_this.py"
|
|
80
|
-
elif (scripts := Path(path, "Scripts")).exists():
|
|
81
|
-
activate_script = scripts / "activate_this.py"
|
|
82
|
-
exe = ".exe"
|
|
83
|
-
prefix = f"{path}/Scripts/"
|
|
84
|
-
else:
|
|
85
|
-
raise ValueError(f"make: activate: Cannot find activation script in {path}")
|
|
86
|
-
|
|
87
|
-
if not activate_script.exists():
|
|
88
|
-
raise ValueError(f"make: activate: Cannot find activation script in {path}")
|
|
89
|
-
|
|
90
|
-
exec(activate_script.read_text(), {"__file__": str(activate_script)}) # noqa: S102
|
|
64
|
+
with environ(UV_PROJECT_ENVIRONMENT=str(venv_path.resolve())):
|
|
65
|
+
uv_install(venv_path)
|
|
91
66
|
|
|
92
67
|
|
|
93
|
-
def run(version: str, cmd: str, *args: str, **kwargs: Any) -> None:
|
|
68
|
+
def run(version: str, cmd: str, *args: str, no_sync: bool = False, **kwargs: Any) -> None:
|
|
94
69
|
"""Run a command in a virtual environment."""
|
|
95
70
|
kwargs = {"check": True, **kwargs}
|
|
71
|
+
uv_run = ["uv", "run"]
|
|
72
|
+
if no_sync:
|
|
73
|
+
uv_run.append("--no-sync")
|
|
96
74
|
if version == "default":
|
|
97
|
-
|
|
98
|
-
|
|
75
|
+
with environ(UV_PROJECT_ENVIRONMENT=".venv"):
|
|
76
|
+
subprocess.run([*uv_run, cmd, *args], **kwargs) # noqa: S603, PLW1510
|
|
99
77
|
else:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
subprocess.run([f"{prefix}{cmd}{exe}", *args], **kwargs) # noqa: S603, PLW1510
|
|
78
|
+
with environ(UV_PROJECT_ENVIRONMENT=f".venvs/{version}", MULTIRUN="1"):
|
|
79
|
+
subprocess.run([*uv_run, cmd, *args], **kwargs) # noqa: S603, PLW1510
|
|
103
80
|
|
|
104
81
|
|
|
105
82
|
def multirun(cmd: str, *args: str, **kwargs: Any) -> None:
|
|
@@ -124,10 +101,10 @@ def clean() -> None:
|
|
|
124
101
|
for path in paths_to_clean:
|
|
125
102
|
shell(f"rm -rf {path}")
|
|
126
103
|
|
|
127
|
-
cache_dirs =
|
|
128
|
-
for dirpath in Path(".").rglob("
|
|
129
|
-
if
|
|
130
|
-
shutil.rmtree(
|
|
104
|
+
cache_dirs = {".cache", ".pytest_cache", ".mypy_cache", ".ruff_cache", "__pycache__"}
|
|
105
|
+
for dirpath in Path(".").rglob("*/"):
|
|
106
|
+
if dirpath.parts[0] not in (".venv", ".venvs") and dirpath.name in cache_dirs:
|
|
107
|
+
shutil.rmtree(dirpath, ignore_errors=True)
|
|
131
108
|
|
|
132
109
|
|
|
133
110
|
def vscode() -> None:
|
|
@@ -143,22 +120,25 @@ def main() -> int:
|
|
|
143
120
|
if len(args) > 1:
|
|
144
121
|
run("default", "duty", "--help", args[1])
|
|
145
122
|
else:
|
|
146
|
-
print(
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
123
|
+
print(
|
|
124
|
+
dedent(
|
|
125
|
+
"""
|
|
126
|
+
Available commands
|
|
127
|
+
help Print this help. Add task name to print help.
|
|
128
|
+
setup Setup all virtual environments (install dependencies).
|
|
129
|
+
run Run a command in the default virtual environment.
|
|
130
|
+
multirun Run a command for all configured Python versions.
|
|
131
|
+
allrun Run a command in all virtual environments.
|
|
132
|
+
3.x Run a command in the virtual environment for Python 3.x.
|
|
133
|
+
clean Delete build artifacts and cache files.
|
|
134
|
+
vscode Configure VSCode to work on this project.
|
|
135
|
+
"""
|
|
136
|
+
),
|
|
137
|
+
flush=True,
|
|
138
|
+
) # noqa: T201
|
|
139
|
+
if os.path.exists(".venv"):
|
|
140
|
+
print("\nAvailable tasks", flush=True) # noqa: T201
|
|
141
|
+
run("default", "duty", "--list", no_sync=True)
|
|
162
142
|
return 0
|
|
163
143
|
|
|
164
144
|
while args:
|
|
@@ -10,7 +10,7 @@ import sys
|
|
|
10
10
|
from collections import ChainMap
|
|
11
11
|
from contextlib import suppress
|
|
12
12
|
from pathlib import Path
|
|
13
|
-
from typing import TYPE_CHECKING, Any, BinaryIO, ClassVar
|
|
13
|
+
from typing import TYPE_CHECKING, Any, BinaryIO, ClassVar
|
|
14
14
|
|
|
15
15
|
from griffe import (
|
|
16
16
|
AliasResolutionError,
|
|
@@ -29,6 +29,8 @@ from mkdocstrings.loggers import get_logger
|
|
|
29
29
|
from mkdocstrings_handlers.python import rendering
|
|
30
30
|
|
|
31
31
|
if TYPE_CHECKING:
|
|
32
|
+
from collections.abc import Iterator, Mapping, Sequence
|
|
33
|
+
|
|
32
34
|
from markdown import Markdown
|
|
33
35
|
|
|
34
36
|
|
|
@@ -102,6 +104,7 @@ class PythonHandler(BaseHandler):
|
|
|
102
104
|
"show_docstring_yields": True,
|
|
103
105
|
"show_source": True,
|
|
104
106
|
"show_bases": True,
|
|
107
|
+
"show_inheritance_diagram": False,
|
|
105
108
|
"show_submodules": False,
|
|
106
109
|
"group_by_category": True,
|
|
107
110
|
"heading_level": 2,
|
|
@@ -116,6 +119,8 @@ class PythonHandler(BaseHandler):
|
|
|
116
119
|
"summary": False,
|
|
117
120
|
"show_labels": True,
|
|
118
121
|
"unwrap_annotated": False,
|
|
122
|
+
"parameter_headings": False,
|
|
123
|
+
"modernize_annotations": False,
|
|
119
124
|
}
|
|
120
125
|
"""Default handler configuration.
|
|
121
126
|
|
|
@@ -123,6 +128,7 @@ class PythonHandler(BaseHandler):
|
|
|
123
128
|
find_stubs_package (bool): Whether to load stubs package (package-stubs) when extracting docstrings. Default `False`.
|
|
124
129
|
allow_inspection (bool): Whether to allow inspecting modules when visiting them is not possible. Default: `True`.
|
|
125
130
|
show_bases (bool): Show the base classes of a class. Default: `True`.
|
|
131
|
+
show_inheritance_diagram (bool): Show the inheritance diagram of a class using Mermaid. Default: `False`.
|
|
126
132
|
show_source (bool): Show the source code of this object. Default: `True`.
|
|
127
133
|
preload_modules (list[str] | None): Pre-load modules that are
|
|
128
134
|
not specified directly in autodoc instructions (`::: identifier`).
|
|
@@ -136,6 +142,7 @@ class PythonHandler(BaseHandler):
|
|
|
136
142
|
|
|
137
143
|
Attributes: Headings options:
|
|
138
144
|
heading_level (int): The initial heading level to use. Default: `2`.
|
|
145
|
+
parameter_headings (bool): Whether to render headings for parameters (therefore showing parameters in the ToC). Default: `False`.
|
|
139
146
|
show_root_heading (bool): Show the heading of the object at the root of the documentation tree
|
|
140
147
|
(i.e. the object referenced by the identifier after `:::`). Default: `False`.
|
|
141
148
|
show_root_toc_entry (bool): If the root heading is not shown, at least add a ToC entry for it. Default: `True`.
|
|
@@ -196,6 +203,7 @@ class PythonHandler(BaseHandler):
|
|
|
196
203
|
separate_signature (bool): Whether to put the whole signature in a code block below the heading.
|
|
197
204
|
If Black is installed, the signature is also formatted using it. Default: `False`.
|
|
198
205
|
unwrap_annotated (bool): Whether to unwrap `Annotated` types to show only the type without the annotations. Default: `False`.
|
|
206
|
+
modernize_annotations (bool): Whether to modernize annotations, for example `Optional[str]` into `str | None`. Default: `False`.
|
|
199
207
|
"""
|
|
200
208
|
|
|
201
209
|
def __init__(
|
|
@@ -270,7 +278,7 @@ class PythonHandler(BaseHandler):
|
|
|
270
278
|
) -> Iterator[tuple[str, str]]:
|
|
271
279
|
"""Yield items and their URLs from an inventory file streamed from `in_file`.
|
|
272
280
|
|
|
273
|
-
This implements mkdocstrings' `load_inventory` "protocol" (see [`mkdocstrings.plugin`][
|
|
281
|
+
This implements mkdocstrings' `load_inventory` "protocol" (see [`mkdocstrings.plugin`][]).
|
|
274
282
|
|
|
275
283
|
Arguments:
|
|
276
284
|
in_file: The binary file-like object to read the inventory from.
|
|
@@ -424,7 +432,7 @@ class PythonHandler(BaseHandler):
|
|
|
424
432
|
self.env.filters["format_signature"] = rendering.do_format_signature
|
|
425
433
|
self.env.filters["format_attribute"] = rendering.do_format_attribute
|
|
426
434
|
self.env.filters["filter_objects"] = rendering.do_filter_objects
|
|
427
|
-
self.env.filters["stash_crossref"] =
|
|
435
|
+
self.env.filters["stash_crossref"] = rendering.do_stash_crossref
|
|
428
436
|
self.env.filters["get_template"] = rendering.do_get_template
|
|
429
437
|
self.env.filters["as_attributes_section"] = rendering.do_as_attributes_section
|
|
430
438
|
self.env.filters["as_functions_section"] = rendering.do_as_functions_section
|