Skip to content

Commit a96006f

Browse files
committed
mkdocs: Show symbol type in the ToC
Enables this option: https://mkdocstrings.github.io/python/usage/configuration/headings/#show_symbol_type_toc Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 6fb4452 commit a96006f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ plugins:
120120
show_signature_annotations: true
121121
show_source: true
122122
show_symbol_type_toc: true
123+
show_symbol_type_toc: true
123124
signature_crossrefs: true
124125
import:
125126
# See https://mkdocstrings.github.io/python/usage/#import for details

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ dev-mkdocs = [
5757
"mkdocs-macros-plugin == 1.0.5",
5858
"mkdocs-material == 9.5.20",
5959
"mkdocstrings[python] == 0.25.0",
60+
"mkdocstrings-python == 1.9.2",
6061
"pymdownx-superfence-filter-lines == 0.1.0",
6162
]
6263
dev-mypy = [

0 commit comments

Comments
 (0)