Skip to content

Commit 2c5ac17

Browse files
committed
adding inheritance diagram to docs
1 parent 5fb69e2 commit 2c5ac17

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@
77
.. automodule:: displayio_switchround
88
:members:
99
:member-order: bysource
10+
:inherited-members:
11+
12+
.. inheritance-diagram:: adafruit_displayio_layout.widgets.switch_round

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"sphinx.ext.intersphinx",
2020
"sphinx.ext.napoleon",
2121
"sphinx.ext.todo",
22+
"sphinx.ext.inheritance_diagram",
2223
]
2324

2425
# TODO: Please Read!

0 commit comments

Comments
 (0)