From 20dd3b1e434f57a0609fd5306f47863396d1022e Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Tue, 20 Feb 2018 17:34:59 -0800 Subject: Delete a bunch of docs, drivers and examples not relevant to CircuitPython. This fixes #345 and fixes #215. --- conf.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'conf.py') diff --git a/conf.py b/conf.py index 42536368f..cb46b13a5 100644 --- a/conf.py +++ b/conf.py @@ -23,9 +23,7 @@ from recommonmark.parser import CommonMarkParser # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('.')) - -# Specify a custom master document based on the port name -master_doc = 'index' +master_doc = 'docs/index' # -- General configuration ------------------------------------------------ @@ -60,7 +58,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,21 +81,27 @@ 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/freetouch", "atmel-samd/*.c", "atmel-samd/*.h", "bare-arm", "cc3200", "cc3200/FreeRTOS", "cc3200/hal", + "docs/README.md", "drivers", - "esp8266", + "esp8266/boards", + "esp8266/common-hal", + "esp8266/modules", + "esp8266/*.c", + "esp8266/*.h", "examples", "extmod", "frozen", @@ -107,6 +111,7 @@ exclude_patterns = ["*/build-*", "pic16bit", "py", "qemu-arm", + "shared-bindings/util.*", "shared-module", "stmhal", "stmhal/hal", @@ -148,7 +153,7 @@ pygments_style = 'sphinx' # of rst_prolog, so we follow. Absolute paths below mean "from the base # of the doctree". rst_epilog = """ -.. include:: /templates/replace.inc +.. include:: /docs/templates/replace.inc """ # -- Options for HTML output ---------------------------------------------- -- cgit v1.2.3