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
Expected 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:
mkdocs v1.6.0
mkdocstrings v0.26.0
mkdocstrings-python v1.10.5
griffe v0.47.0
Additional context
I am using path: to load the module and I'm using mkdocs-monorepo-plugin.
Description of the bug
Local override
docstring_stylefor global configuration doesn't work.To Reproduce
Declare in mkdocs.yaml:
-->
Inside
file.mdFull traceback
Full traceback
Expected behavior
Override the default
googlestyle with thesphinxstyle for that one module.Environment information
mkdocsv1.6.0mkdocstringsv0.26.0mkdocstrings-pythonv1.10.5griffev0.47.0Additional context
I am using
path:to load the module and I'm usingmkdocs-monorepo-plugin.