Skip to content

Commit 020386b

Browse files
author
danicampora
committed
docs: In top index fix machine module link for the WiPy.
1 parent c3000b6 commit 020386b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/topindex.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ <h1>MicroPython documentation</h1>
4343
{% endif %}
4444
<p class="biglink">
4545
<a class="biglink" href="{{ pathto("library/index") }}">Library Reference</a><br/>
46-
<span class="linkdescr">MicroPython libraries, including the <a href="{{ pathto("library/pyb") }}">pyb module</a></span>
46+
{% if port == "wipy" %}
47+
<span class="linkdescr">MicroPython libraries, including the <a href="{{ pathto("library/machine") }}">machine module</a></span>
48+
{% else %}
49+
<span class="linkdescr">MicroPython libraries, including the <a href="{{ pathto("library/pyb") }}">pyb module</a></span>
50+
{% endif %}
4751
</p>
4852
</td>
4953
<td width="40%" style="padding-left:2em;">

0 commit comments

Comments
 (0)