Skip to content

Commit c4ace51

Browse files
committed
WIP: Add inheritance_diagram_direction option
1 parent 7981b4e commit c4ace51

File tree

1 file changed

+8
-0
lines changed
  • src/mkdocstrings_handlers/python/_internal

1 file changed

+8
-0
lines changed

src/mkdocstrings_handlers/python/_internal/config.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,14 @@ class PythonInputOptions:
488488
),
489489
] = 2
490490

491+
inheritance_diagram_direction: Annotated[
492+
Literal["TB", "TD", "BT", "RL", "LR"],
493+
_Field(
494+
group="docstrings",
495+
description="Set the direction of the Mermaid chart presenting the inheritance diagram of a class.",
496+
),
497+
]
498+
491499
inherited_members: Annotated[
492500
bool | list[str],
493501
_Field(

0 commit comments

Comments
 (0)