From 4542643025c77a7272bde348b89d5039aea28d23 Mon Sep 17 00:00:00 2001 From: danicampora Date: Wed, 14 Oct 2015 12:32:01 +0200 Subject: docs: Update all WiPy docs to reflect the new API. --- docs/conf.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 9f3a25257..aebf79d40 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -300,6 +300,11 @@ html_context = { # Append the other ports' specific folders/files to the exclude pattern exclude_patterns.extend([port + '*' for port in ports if port != micropy_port]) +# Exclude pyb module if the port is the WiPy +if micropy_port == 'wipy': + exclude_patterns.append('library/pyb*') +else: # exclude machine + exclude_patterns.append('library/machine*') # Specify a custom master document based on the port name master_doc = micropy_port + '_' + 'index' -- cgit v1.2.3