-
-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
extractor: griffeRelated to griffeRelated to grifferefactorChange suggestion, not a bug nor a feature.Change suggestion, not a bug nor a feature.
Description
Description of the bug
Local override docstring_style for global configuration doesn't work.
To Reproduce
Declare in mkdocs.yaml:
plugins:
- mkdocstrings:
enabled: true
default_handler: python
handlers:
python:
options:
docstring_style: google
-->
Inside file.md
::: path.to.module
options:
docstring_style: sphinx
Full traceback
Full traceback
N/AExpected behavior
Override the default google style with the sphinx style for that one module.
Environment information
- System: Windows-10-10.0.19045-SP0
- Python: cpython 3.10.11
- Environment variables:
- Installed packages:
mkdocsv1.6.0mkdocstringsv0.26.0mkdocstrings-pythonv1.10.5griffev0.47.0
Additional context
I am using path: to load the module and I'm using mkdocs-monorepo-plugin.
Metadata
Metadata
Assignees
Labels
extractor: griffeRelated to griffeRelated to grifferefactorChange suggestion, not a bug nor a feature.Change suggestion, not a bug nor a feature.