docs/machine.*: Add "currentmodule:: machine" directive.
Makes sure that classes described in these separate files are properly designated as belonging to "machine" module in indexes.
This commit is contained in:
parent
2c5fc681c8
commit
c8b7628094
@ -1,3 +1,4 @@
|
|||||||
|
.. currentmodule:: machine
|
||||||
.. _machine.ADC:
|
.. _machine.ADC:
|
||||||
|
|
||||||
class ADC -- analog to digital conversion
|
class ADC -- analog to digital conversion
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.. currentmodule:: machine
|
||||||
.. _machine.I2C:
|
.. _machine.I2C:
|
||||||
|
|
||||||
class I2C -- a two-wire serial protocol
|
class I2C -- a two-wire serial protocol
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.. currentmodule:: machine
|
||||||
.. _machine.Pin:
|
.. _machine.Pin:
|
||||||
|
|
||||||
class Pin -- control I/O pins
|
class Pin -- control I/O pins
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.. currentmodule:: machine
|
||||||
.. _machine.RTC:
|
.. _machine.RTC:
|
||||||
|
|
||||||
class RTC -- real time clock
|
class RTC -- real time clock
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.. currentmodule:: machine
|
||||||
.. _machine.SD:
|
.. _machine.SD:
|
||||||
|
|
||||||
class SD -- secure digital memory card
|
class SD -- secure digital memory card
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.. currentmodule:: machine
|
||||||
.. _machine.SPI:
|
.. _machine.SPI:
|
||||||
|
|
||||||
class SPI -- a master-driven serial protocol
|
class SPI -- a master-driven serial protocol
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.. currentmodule:: machine
|
||||||
.. _machine.Timer:
|
.. _machine.Timer:
|
||||||
|
|
||||||
class Timer -- control internal timers
|
class Timer -- control internal timers
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.. currentmodule:: machine
|
||||||
.. _machine.UART:
|
.. _machine.UART:
|
||||||
|
|
||||||
class UART -- duplex serial communication bus
|
class UART -- duplex serial communication bus
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.. currentmodule:: machine
|
||||||
.. _machine.WDT:
|
.. _machine.WDT:
|
||||||
|
|
||||||
class WDT -- watchdog timer
|
class WDT -- watchdog timer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user