Skip to content

Commit 0dec0f4

Browse files
committed
fix(docs): correct mkdocstrings config structure
Move paths inside python handler and rename inventories to import to fix mkdocstrings configuration error. Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent d89a198 commit 0dec0f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ plugins:
102102
- mkdocstrings:
103103
default_handler: python
104104
handlers:
105-
paths: ["src"]
106105
python:
106+
paths: ["src"]
107107
options:
108108
docstring_section_style: spacy
109109
inherited_members: true
@@ -116,7 +116,7 @@ plugins:
116116
show_source: true
117117
show_symbol_type_toc: true
118118
signature_crossrefs: true
119-
inventories:
119+
import:
120120
# TODO(cookiecutter): You might want to add other external references here
121121
# See https://mkdocstrings.github.io/python/usage/#import for details
122122
- https://docs.python.org/3/objects.inv

0 commit comments

Comments
 (0)