griffe-warnings-deprecated-1.1.1


توضیحات

Griffe extension for `@warnings.deprecated` (PEP 702).
ویژگی مقدار
سیستم عامل -
نام فایل griffe-warnings-deprecated-1.1.1
نام griffe-warnings-deprecated
نسخه کتابخانه 1.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده =?utf-8?q?Timoth=C3=A9e_Mazzucotelli?= <dev@pawamoy.fr>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/griffe-warnings-deprecated/
مجوز -
# griffe-warnings-deprecated [![ci](https://github.com/mkdocstrings/griffe-warnings-deprecated/workflows/ci/badge.svg)](https://github.com/mkdocstrings/griffe-warnings-deprecated/actions?query=workflow%3Aci) [![documentation](https://img.shields.io/badge/docs-zensical-FF9100.svg?style=flat)](https://mkdocstrings.github.io/griffe-warnings-deprecated/) [![pypi version](https://img.shields.io/pypi/v/griffe-warnings-deprecated.svg)](https://pypi.org/project/griffe-warnings-deprecated/) [![gitter](https://img.shields.io/badge/matrix-chat-4DB798.svg?style=flat)](https://app.gitter.im/#/room/#griffe-warnings-deprecated:gitter.im) Griffe extension for `@warnings.deprecated` ([PEP 702](https://peps.python.org/pep-0702/)). ## Installation ```bash pip install griffe-warnings-deprecated ``` ## Usage The option values in the following examples are the default ones, you can omit them if you like the defaults. ### Command-line ```bash griffe dump mypackage -e griffe_warnings_deprecated ``` See [command-line usage in Griffe's documentation](https://mkdocstrings.github.io/griffe/extensions/#on-the-command-line). ### Python ```python import griffe griffe.load( "mypackage", extensions=griffe.load_extensions( [{"griffe_warnings_deprecated": { "kind": "danger", "title": "Deprecated", "label": "deprecated" }}] ) ) ``` See [programmatic usage in Griffe's documentation](https://mkdocstrings.github.io/griffe/extensions/#programmatically). ### MkDocs ```yaml title="mkdocs.yml" plugins: - mkdocstrings: handlers: python: options: extensions: - griffe_warnings_deprecated: kind: danger title: Deprecated ``` See [MkDocs usage in Griffe's documentation](https://mkdocstrings.github.io/griffe/extensions/#in-mkdocs). --- Options: - `kind`: The admonition kind (default: danger). - `title`: The admonition title (default: Deprecated). Can be set to null to use the message as title. - `label`: The label added to deprecated objects (default: deprecated). Can be set to null. ## Sponsors <!-- sponsors-start --> <!-- sponsors-end -->


نیازمندی

مقدار نام
- griffelib>=2.0


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl griffe-warnings-deprecated-1.1.1:

    pip install griffe-warnings-deprecated-1.1.1.whl


نصب پکیج tar.gz griffe-warnings-deprecated-1.1.1:

    pip install griffe-warnings-deprecated-1.1.1.tar.gz