Skip to content

Commit 620bfc6

Browse files
committed
Update conf.py for new ports and port location.
This reduces the build time of sphinx.
1 parent 243279f commit 620bfc6

File tree

1 file changed

+32
-27
lines changed

1 file changed

+32
-27
lines changed

conf.py

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
# General information about the project.
6262
project = 'Adafruit CircuitPython'
63-
copyright = '2014-2017, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)'
63+
copyright = '2014-2018, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)'
6464

6565
# These are overwritten on ReadTheDocs.
6666
# The version info for the project you're documenting, acts as replacement for
@@ -83,42 +83,47 @@
8383

8484
# List of patterns, relative to source directory, that match files and
8585
# directories to ignore when looking for source files.
86-
exclude_patterns = ["*/build-*",
86+
exclude_patterns = ["**/build-*",
8787
".venv",
88-
"atmel-samd/asf",
89-
"atmel-samd/asf_conf",
90-
"atmel-samd/common-hal",
91-
"atmel-samd/boards",
92-
"atmel-samd/QTouch",
93-
"atmel-samd/*.c",
94-
"atmel-samd/*.h",
95-
"bare-arm",
96-
"cc3200",
97-
"cc3200/FreeRTOS",
98-
"cc3200/hal",
9988
"drivers",
100-
"esp8266",
10189
"examples",
10290
"extmod",
10391
"frozen",
10492
"lib",
105-
"minimal",
10693
"mpy-cross",
107-
"pic16bit",
94+
"ports/*/*.c",
95+
"ports/*/*.h",
96+
"ports/*/boards",
97+
"ports/*/common-hal",
98+
"ports/*/supervisor",
99+
"ports/atmel-samd/asf4",
100+
"ports/atmel-samd/asf4_conf",
101+
"ports/atmel-samd/QTouch",
102+
"ports/bare-arm",
103+
"ports/cc3200",
104+
"ports/cc3200/FreeRTOS",
105+
"ports/cc3200/hal",
106+
"ports/esp8266",
107+
"ports/minimal",
108+
"ports/nrf/devices",
109+
"ports/nrf/drivers",
110+
"ports/nrf/hal",
111+
"ports/nrf/modules",
112+
"ports/pic16bit",
113+
"ports/qemu-arm",
114+
"ports/stm32",
115+
"ports/stm32/hal",
116+
"ports/stm32/cmsis",
117+
"ports/stm32/usbdev",
118+
"ports/stm32/usbhost",
119+
"ports/teensy",
120+
"ports/unix",
121+
"ports/windows",
122+
"ports/zephyr",
108123
"py",
109-
"qemu-arm",
110124
"shared-module",
111-
"stmhal",
112-
"stmhal/hal",
113-
"stmhal/cmsis",
114-
"stmhal/usbdev",
115-
"stmhal/usbhost",
116-
"teensy",
117125
"tests",
118-
"tools",
119-
"unix",
120-
"windows",
121-
"zephyr"]
126+
"tools"]
122127

123128
# The reST default role (used for this markup: `text`) to use for all
124129
# documents.

0 commit comments

Comments
 (0)