diff --git a/docs/rstjinja.py b/docs/rstjinja.py index 5cac1a5e15..7d5fff5c6c 100644 --- a/docs/rstjinja.py +++ b/docs/rstjinja.py @@ -4,9 +4,7 @@ import re def render_with_jinja(docname, source): - if "shared-bindings/support_matrix" in docname: - return True - if re.search('^\s+.. jinja$', source[0], re.M): + if re.search('^\s*.. jinja$', source[0], re.M): return True return False diff --git a/shared-bindings/support_matrix.rst b/shared-bindings/support_matrix.rst index 3d5e544ea0..e3428ac5bc 100644 --- a/shared-bindings/support_matrix.rst +++ b/shared-bindings/support_matrix.rst @@ -11,6 +11,8 @@ Only those boards that provide those modules will be listed. To exclude boards that provide a module, type a "-" in front of the module name. You can also type a regular expression as a filter. +.. jinja + .. raw:: html
(all)