You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,3 +11,25 @@ Set docstring style to 'auto' for external packages.
11
11
This project is available to sponsors only, through my Insiders program.
12
12
See Insiders [explanation](https://mkdocstrings.github.io/griffe-autodocstringstyle/insiders/)
13
13
and [installation instructions](https://mkdocstrings.github.io/griffe-autodocstringstyle/insiders/installation/).
14
+
15
+
## Usage
16
+
17
+
[Enable(https://mkdocstrings.github.io/griffe/guide/users/extending/#using-extensions)] 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).
18
+
19
+
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).
0 commit comments