Set docstring style to 'auto' for external packages.
Project description
griffe-autodocstringstyle
Set docstring style to 'auto' for external packages.
Installation
pip install griffe-autodocstringstyle
Usage
Enable the griffe_autodocstringstyle extension. Now all packages loaded from a virtual environment will have their docstrings parsed with the auto style (automatically guessing the docstring style).
Use the exclude option to pass package names that shouldn't be considered. This can be useful if you must first install your sources as a package before loading/documenting them (meaning they end up in the virtual environment too).
With MkDocs:
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_autodocstringstyle:
# only useful if your sources can't be found
# in the current working directory
exclude:
- my_package
Sponsors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file griffe_autodocstringstyle-0.2.0.tar.gz.
File metadata
- Download URL: griffe_autodocstringstyle-0.2.0.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3c469ab9ef75e617864e912f72179cb8bee32b95f735abdf517d91d8cf1ccf5
|
|
| MD5 |
2d7049b17fbd15913e3399230f2733d5
|
|
| BLAKE2b-256 |
7c112b96dc46d1bc689ed9d75b1b4418c172e759f94ba8d4afdfcc660c7141dd
|
File details
Details for the file griffe_autodocstringstyle-0.2.0-py3-none-any.whl.
File metadata
- Download URL: griffe_autodocstringstyle-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7828d8582b27502cf4b079e5d20cf75ed0ec596e5bf1819af8b7c2a155c0c75
|
|
| MD5 |
9e6bd2016b9ecd5c4d9ee4453509b5cf
|
|
| BLAKE2b-256 |
17c532dc83b9e6cddfd5997ea5b50f96aeca8890e3cb3b23d8e6558c9a455c8c
|