8000 refactor: Disable `show_submodules` by default · diviyank/python@480d0c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 480d0c3

Browse files
committed
refactor: Disable show_submodules by default
1 parent 312a709 commit 480d0c3
Copy full SHA for 480d0c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mkdocstrings_handlers/python/handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class PythonHandler(BaseHandler):
6363
"merge_init_into_class": False,
6464
"show_source": True,
6565
"show_bases": True,
66-
"show_submodules": True,
66+
"show_submodules": False,
6767
"group_by_category": True,
6868
"heading_level": 2,
6969
"members_order": rendering.Order.alphabetical.value,
@@ -90,7 +90,7 @@ class PythonHandler(BaseHandler):
9090
filters (list[str] | None): A list of filters applied to filter objects based on their name.
9191
A filter starting with `!` will exclude matching objects instead of including them. Default: `["!^_[^_]"]`.
9292
group_by_category (bool): Group the object's children by categories: attributes, classes, functions, and modules. Default: `True`.
93-
show_submodules (bool): When rendering a module, show its submodules recursively. Default: `True`.
93+
show_submodules (bool): When rendering a module, show its submodules recursively. Default: `False`.
9494
9595
Attributes: Docstrings options:
9696
docstring_style (str): The docstring style to use: `google`, `numpy`, `sphinx`, or `None`. Default: `"google"`.

0 commit comments

Comments
 (0)
0