Skip to content

Commit 1f6c8cf

Browse files
authored
Merge pull request #28 from jposada202020/correcting_sphinx_reference
Resolving Sphinx references
2 parents e10e26c + 801ed7a commit 1f6c8cf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

adafruit_servokit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def __init__(
8787

8888
@property
8989
def servo(self):
90-
""":py:class:``~adafruit_motor.servo.Servo`` controls for standard servos.
90+
""":class:`~adafruit_motor.servo.Servo` controls for standard servos.
9191
9292
This FeatherWing example rotates a servo on channel ``0`` to ``180`` degrees for one second,
9393
and then returns it to ``0`` degrees.
@@ -108,7 +108,7 @@ def servo(self):
108108

109109
@property
110110
def continuous_servo(self):
111-
""":py:class:``~adafruit_motor.servo.ContinuousServo`` controls for continuous rotation
111+
""":class:`~adafruit_motor.servo.ContinuousServo` controls for continuous rotation
112112
servos.
113113
114114
This FeatherWing example rotates a continuous rotation servo on channel ``0`` forward for

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
None,
4040
),
4141
"CircuitPython": ("https://circuitpython.readthedocs.io/en/latest/", None),
42+
"adafruit_motor": (
43+
"https://circuitpython.readthedocs.io/projects/motor/en/latest/",
44+
None,
45+
),
4246
}
4347

4448
# Add any paths that contain templates here, relative to this directory.

0 commit comments

Comments
 (0)