summaryrefslogtreecommitdiffstatshomepage
path: root/docs/contents.rst
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-05-27 13:59:59 +0200
committerDamien George <damien.p.george@gmail.com>2015-06-04 23:44:35 +0100
commit7ca1bd314bd5e3146f8c868f91af54d17dd04d45 (patch)
treec30c7ccb9a8437a9e69f2716f196b87f27beca5d /docs/contents.rst
parent031278f661e5d285c56359e355a96161bf6e1a9f (diff)
downloadmicropython-7ca1bd314bd5e3146f8c868f91af54d17dd04d45.tar.gz
micropython-7ca1bd314bd5e3146f8c868f91af54d17dd04d45.zip
docs: Generate a separate docs build for each port.
Using Damien's approach where conf.py and topindex.html are shared by all ports.
Diffstat (limited to 'docs/contents.rst')
-rw-r--r--docs/contents.rst25
1 files changed, 17 insertions, 8 deletions
diff --git a/docs/contents.rst b/docs/contents.rst
index e5d3ad3297..b35e80d85f 100644
--- a/docs/contents.rst
+++ b/docs/contents.rst
@@ -1,11 +1,20 @@
Micro Python documentation contents
===================================
-.. toctree::
-
- quickref.rst
- general.rst
- tutorial/index.rst
- library/index.rst
- hardware/index.rst
- license.rst
+.. only:: port_pyboard
+
+ .. toctree::
+
+ pyboard/quickref.rst
+ pyboard/general.rst
+ pyboard/tutorial/index.rst
+ library/index.rst
+ pyboard/hardware/index.rst
+ license.rst
+
+.. only:: port_esp8266
+
+ .. toctree::
+
+ library/index.rst
+ license.rst