Merge pull request #8312 from jepler/fix-sphinx-82x
Use the ".. jinja" tag to render support_matrix template
This commit is contained in:
commit
8157920d10
@ -4,9 +4,7 @@
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
def render_with_jinja(docname, source):
|
def render_with_jinja(docname, source):
|
||||||
if "shared-bindings/support_matrix" in docname:
|
if re.search('^\s*.. jinja$', source[0], re.M):
|
||||||
return True
|
|
||||||
if re.search('^\s+.. jinja$', source[0], re.M):
|
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@ -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.
|
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.
|
You can also type a regular expression as a filter.
|
||||||
|
|
||||||
|
.. jinja
|
||||||
|
|
||||||
.. raw:: html
|
.. raw:: html
|
||||||
|
|
||||||
<p id="support-matrix-filter-block"><input placeholder="Filter the boards by available modules" id="support-matrix-filter" type="text"/><span id="support-matrix-filter-num">(all)</span></p>
|
<p id="support-matrix-filter-block"><input placeholder="Filter the boards by available modules" id="support-matrix-filter" type="text"/><span id="support-matrix-filter-num">(all)</span></p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user