Griffe扩展,用于继承文档字符串。
项目描述
Griffe Inherited Docstrings
Griffe扩展,用于继承文档字符串。
安装
使用 pip
pip install griffe-inherited-docstrings
使用 pipx
python3.8 -m pip install --user pipx
pipx install griffe-inherited-docstrings
用法
使用Python
import griffe
griffe.load("...", extensions=griffe.load_extensions(["griffe_inherited_docstrings"]))
使用MkDocs和mkdocstrings
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_inherited_docstrings
该扩展将对每个类及其成员进行迭代,当文档字符串尚未定义时,将从父类设置文档字符串。
项目详情
关闭
griffe_inherited_docstrings-1.0.1.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | c827ce1a571ada3fdc0f74be05ba31e40743cc909c9463fac60779a57d387e60 |
|
MD5 | 880f6065576829e2efdf66773117eaf1 |
|
BLAKE2b-256 | a1f0b17c66dfc32cd5944ef9f738ecec4c194f857abf66be3c14edc2ca743cda |
关闭
griffe_inherited_docstrings-1.0.1-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 76854a4fc10acabe223cd5cbd42637e45cafb30dcaf36f120c4752fca99e48a8 |
|
MD5 | 0c2fbb23774007cb70b0f61c2ee921d0 |
|
BLAKE2b-256 | 9f79ffef1e72a3035f07a531e216d6b2075755a449441a043caa23a254f7611a |