@@ -238,11 +238,34 @@ Module description
238
238
After the license comment::
239
239
240
240
"""
241
- `<module name>` - <Short description>
241
+ `<module name>`
242
242
=================================================
243
- <Longer description.>
243
+
244
+ <Longer description>
245
+
246
+ * Author(s):
247
+
248
+ Implementation Notes
249
+ --------------------
250
+
251
+
252
+ **Hardware:**
253
+
254
+ * Adafruit `Device Description
255
+ <hyperlink>`_ (Product ID: <Product Number>)
256
+
257
+ **Software and Dependencies:**
258
+
259
+ * Adafruit CircuitPython firmware for the supported boards:
260
+ https://circuitpython.org/downloads
261
+ * Adafruit's Bus Device library:
262
+ https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
263
+ * Adafruit's Register library:
264
+ https://github.com/adafruit/Adafruit_CircuitPython_Register
265
+
244
266
"""
245
267
268
+
246
269
Class description
247
270
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
248
271
@@ -383,6 +406,14 @@ Renders as:
383
406
384
407
:param float degrees: Degrees to turn right
385
408
409
+ Documentation References to other Libraries
410
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
411
+ When you need to make references to documentation in other libraries you should refer the class using single
412
+ backticks ``:class:`~adafruit_motor.servo.Servo` ``. You must also add the reference in the ``conf.py `` file in the
413
+ ``intersphinx_mapping section `` by adding a new entry::
414
+
415
+ "adafruit_motor": ("https://circuitpython.readthedocs.io/projects/motor/en/latest/", None,),
416
+
386
417
Use BusDevice
387
418
--------------------------------------------------------------------------------
388
419
0 commit comments