File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,10 @@ def __init__(
113113 ) -> None :
114114 super ().__init__ (pwm_out , min_pulse = min_pulse , max_pulse = max_pulse )
115115 self .actuation_range = actuation_range
116- """The physical range of motion of the servo in degrees."""
116+ """The physical range of motion of the servo in degrees.
117+
118+ :type: float
119+ """
117120 self ._pwm = pwm_out
118121
119122 @property
Original file line number Diff line number Diff line change 8585# If this is True, todo emits a warning for each TODO entries. The default is False.
8686todo_emit_warnings = True
8787
88- # Avoid an `= None` on instance attributes with their own doc strings.
89- # Workaround from here: https://github.com/sphinx-doc/sphinx/issues/2044#issuecomment-285888160
90- #
91- from sphinx .ext .autodoc import ClassLevelDocumenter , InstanceAttributeDocumenter
92-
93-
94- def iad_add_directive_header (self , sig ):
95- ClassLevelDocumenter .add_directive_header (self , sig )
96-
97-
98- InstanceAttributeDocumenter .add_directive_header = iad_add_directive_header
99-
10088# -- Options for HTML output ----------------------------------------------
10189
10290# The theme to use for HTML and HTML Help pages. See the documentation for
You can’t perform that action at this time.
0 commit comments