diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-02-27 22:03:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-27 22:03:52 -0500 |
| commit | 568c04e6afa8016062f685b2198c0209f62827f4 (patch) | |
| tree | d07b76119f715add462983b335797adf64b61249 /conf.py | |
| parent | 6a2379fd0bfe10017d8abc5c36ef1d470c0d9b27 (diff) | |
| parent | ea633117d01d94e8d56ed94344e4b3e46b4eef03 (diff) | |
Merge pull request #650 from tannewt/merge_2x3.0.0-alpha.2
Merge in commits from 2.x branch.
Diffstat (limited to 'conf.py')
| -rw-r--r-- | conf.py | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -21,11 +21,10 @@ from recommonmark.parser import CommonMarkParser # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. +sys.path.insert(0, os.path.abspath('docs')) 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 ------------------------------------------------ @@ -83,13 +82,15 @@ 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", + "docs/README.md", "drivers", "examples", "extmod", "frozen", "lib", + "main.c", "mpy-cross", "ports/*/*.c", "ports/*/*.h", @@ -98,12 +99,17 @@ exclude_patterns = ["**/build-*", "ports/*/supervisor", "ports/atmel-samd/asf4", "ports/atmel-samd/asf4_conf", + "ports/atmel-samd/external_flash", + "ports/atmel-samd/freetouch", "ports/atmel-samd/QTouch", + "ports/atmel-samd/tools", "ports/bare-arm", "ports/cc3200", "ports/cc3200/FreeRTOS", "ports/cc3200/hal", - "ports/esp8266", + "ports/esp8266/boards", + "ports/esp8266/common-hal", + "ports/esp8266/modules", "ports/minimal", "ports/nrf/device", "ports/nrf/drivers", @@ -121,7 +127,9 @@ exclude_patterns = ["**/build-*", "ports/windows", "ports/zephyr", "py", + "shared-bindings/util.*", "shared-module", + "supervisor", "tests", "tools"] @@ -153,7 +161,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 ---------------------------------------------- |
