docs: Makefile for generating a combined device-details.rst file.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2020-07-28 11:43:09 -07:00
parent 0fccbdc534
commit fa5e348b4a
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,9 @@ $(wildcard rules/periphery/*): | $(CONDA_ENV_PYTHON)
rules/periphery-rules.rst: $(wildcard rules/periphery/*) | $(CONDA_ENV_PYTHON)
$(IN_CONDA_ENV) cd rules/periphery; ./periphery-split-csv.py > /dev/null
rules/device-details.rst: rules/device-details.py $(wildcard rules/device-details/*/index.rst) | $(CONDA_ENV_PYTHON)
$(IN_CONDA_ENV) cd rules; ./device-details.py > $(abspath $@)
# Various automated fixups that can be run
fixup:
# Make sure it is SkyWater

View File

@ -123,6 +123,7 @@ exclude_patterns = [
# Files included in other rst files.
'code-of-conduct.rst',
'rules/periphery-rules.rst',
'rules/device-details/*/index.rst',
]
# The name of the Pygments (syntax highlighting) style to use.