docs: Makefile for generating a combined device-details.rst file.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
0fccbdc534
commit
fa5e348b4a
|
@ -49,6 +49,9 @@ $(wildcard rules/periphery/*): | $(CONDA_ENV_PYTHON)
|
||||||
rules/periphery-rules.rst: $(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
|
$(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
|
# Various automated fixups that can be run
|
||||||
fixup:
|
fixup:
|
||||||
# Make sure it is SkyWater
|
# Make sure it is SkyWater
|
||||||
|
|
|
@ -123,6 +123,7 @@ exclude_patterns = [
|
||||||
# Files included in other rst files.
|
# Files included in other rst files.
|
||||||
'code-of-conduct.rst',
|
'code-of-conduct.rst',
|
||||||
'rules/periphery-rules.rst',
|
'rules/periphery-rules.rst',
|
||||||
|
'rules/device-details/*/index.rst',
|
||||||
]
|
]
|
||||||
|
|
||||||
# The name of the Pygments (syntax highlighting) style to use.
|
# The name of the Pygments (syntax highlighting) style to use.
|
||||||
|
|
Loading…
Reference in New Issue