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.
This commit is contained in:
Damien George 2017-02-13 13:06:51 +11:00
parent 3625afa173
commit 0c821f7def
1 changed files with 16 additions and 1 deletions

View File

@ -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