diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-13 13:06:51 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-13 13:06:51 +1100 |
commit | 0c821f7def92a2f461a440c210cd5944707d4244 (patch) | |
tree | beb79a809d1752929d91696338d7308aa2e3c9af | |
parent | 3625afa17362e8a2f873edeaa0856ae852c19beb (diff) | |
download | micropython-0c821f7def92a2f461a440c210cd5944707d4244.tar.gz micropython-0c821f7def92a2f461a440c210cd5944707d4244.zip |
docs/library/machine: Make separate TOC for WiPy vs non-WiPy.
WiPy is the only port with ADC and SD, so they shouldn't be included in
other ports' documentation.
-rw-r--r-- | docs/library/machine.rst | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/library/machine.rst b/docs/library/machine.rst index c6da715852..50884e7be0 100644 --- a/docs/library/machine.rst +++ b/docs/library/machine.rst @@ -156,7 +156,22 @@ Constants Classes ------- -.. toctree:: +.. only:: not port_wipy + + .. toctree:: + :maxdepth: 1 + + machine.I2C.rst + machine.Pin.rst + machine.RTC.rst + machine.SPI.rst + machine.Timer.rst + machine.UART.rst + machine.WDT.rst + +.. only:: port_wipy + + .. toctree:: :maxdepth: 1 machine.ADC.rst |