doc: Split HW-Reference into seperate files/folders for different chips

This commit is contained in:
Marius Vikhammer
2019-12-11 15:45:30 +08:00
committed by Angus Gratton
parent cfeb9e68cb
commit 1a90470f02
48 changed files with 1077 additions and 1414 deletions

View File

@@ -136,19 +136,18 @@ def update_exclude_patterns(tags):
'api-reference/system/himem.rst',
'api-reference/bluetooth/**',
'api-reference/system/ipc.rst',
'hw-reference/get-started-devkitc-v2.rst',
'hw-reference/get-started-devkitc.rst',
'hw-reference/get-started-ethernet-kit-v1.0.rst',
'hw-reference/get-started-ethernet-kit.rst',
'hw-reference/get-started-pico-kit-v3.rst',
'hw-reference/get-started-pico-kit.rst',
'hw-reference/get-started-wrover-kit-v2.rst',
'hw-reference/get-started-wrover-kit-v3.rst',
'hw-reference/get-started-wrover-kit.rst',
'get-started-legacy/**',
'gnu-make-legacy.rst']:
'gnu-make-legacy.rst',
'hw-reference/esp32/**']:
exclude_patterns.append(e)
if "esp32s2" not in tags:
# Exclude ESP32-only document pages so they aren't found in the initial search for .rst files
# note: in toctrees, these also need to be marked with a :esp32: filter
for e in ['hw-reference/esp32s2/**']:
exclude_patterns.append(e)
# The reST default role (used for this markup: `text`) to use for all
# documents.
# default_role = None
@@ -349,7 +348,6 @@ texinfo_documents = [
# texinfo_no_detailmenu = False
# Override RTD CSS theme to introduce the theme corrections
# https://github.com/rtfd/sphinx_rtd_theme/pull/432
def setup(app):