Skip to content

Commit 0c821f7

Browse files
committed
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.
1 parent 3625afa commit 0c821f7

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

docs/library/machine.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,22 @@ Constants
156156
Classes
157157
-------
158158

159-
.. toctree::
159+
.. only:: not port_wipy
160+
161+
.. toctree::
162+
:maxdepth: 1
163+
164+
machine.I2C.rst
165+
machine.Pin.rst
166+
machine.RTC.rst
167+
machine.SPI.rst
168+
machine.Timer.rst
169+
machine.UART.rst
170+
machine.WDT.rst
171+
172+
.. only:: port_wipy
173+
174+
.. toctree::
160175
:maxdepth: 1
161176

162177
machine.ADC.rst

0 commit comments

Comments
 (0)