summaryrefslogtreecommitdiffstatshomepage
path: root/docs/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst28
1 files changed, 19 insertions, 9 deletions
diff --git a/docs/index.rst b/docs/index.rst
index c11677efd5..e86ff857b7 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1,15 +1,25 @@
Micro Python documentation and references
=========================================
-.. toctree::
-
- quickref.rst
- general.rst
- tutorial/index.rst
- library/index.rst
- hardware/index.rst
- license.rst
- contents.rst
+.. only:: port_pyboard
+
+ .. toctree::
+
+ pyboard/quickref.rst
+ pyboard/general.rst
+ pyboard/tutorial/index.rst
+ library/index.rst
+ pyboard/hardware/index.rst
+ license.rst
+ contents.rst
+
+.. only:: port_esp8266
+
+ .. toctree::
+
+ library/index.rst
+ license.rst
+ contents.rst
Indices and tables
==================