From 620bfc64d2fdfc59ddcaa2d3514ef88200826954 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Wed, 7 Feb 2018 13:07:57 -0800 Subject: [PATCH] Update conf.py for new ports and port location. This reduces the build time of sphinx. --- conf.py | 59 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/conf.py b/conf.py index 6021d38723..47a408c1b7 100644 --- a/conf.py +++ b/conf.py @@ -60,7 +60,7 @@ source_parsers = {'.md': CommonMarkParser, # General information about the project. project = 'Adafruit CircuitPython' -copyright = '2014-2017, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)' +copyright = '2014-2018, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)' # These are overwritten on ReadTheDocs. # The version info for the project you're documenting, acts as replacement for @@ -83,42 +83,47 @@ version = release = '0.0.0' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ["*/build-*", +exclude_patterns = ["**/build-*", ".venv", - "atmel-samd/asf", - "atmel-samd/asf_conf", - "atmel-samd/common-hal", - "atmel-samd/boards", - "atmel-samd/QTouch", - "atmel-samd/*.c", - "atmel-samd/*.h", - "bare-arm", - "cc3200", - "cc3200/FreeRTOS", - "cc3200/hal", "drivers", - "esp8266", "examples", "extmod", "frozen", "lib", - "minimal", "mpy-cross", - "pic16bit", + "ports/*/*.c", + "ports/*/*.h", + "ports/*/boards", + "ports/*/common-hal", + "ports/*/supervisor", + "ports/atmel-samd/asf4", + "ports/atmel-samd/asf4_conf", + "ports/atmel-samd/QTouch", + "ports/bare-arm", + "ports/cc3200", + "ports/cc3200/FreeRTOS", + "ports/cc3200/hal", + "ports/esp8266", + "ports/minimal", + "ports/nrf/devices", + "ports/nrf/drivers", + "ports/nrf/hal", + "ports/nrf/modules", + "ports/pic16bit", + "ports/qemu-arm", + "ports/stm32", + "ports/stm32/hal", + "ports/stm32/cmsis", + "ports/stm32/usbdev", + "ports/stm32/usbhost", + "ports/teensy", + "ports/unix", + "ports/windows", + "ports/zephyr", "py", - "qemu-arm", "shared-module", - "stmhal", - "stmhal/hal", - "stmhal/cmsis", - "stmhal/usbdev", - "stmhal/usbhost", - "teensy", "tests", - "tools", - "unix", - "windows", - "zephyr"] + "tools"] # The reST default role (used for this markup: `text`) to use for all # documents.