move the support matrix to its own page; add linking for modules
This commit is contained in:
parent
19e504f182
commit
c6ac0ba683
@ -10,7 +10,7 @@ def rstjinja(app, docname, source):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# we only want our one jinja template to run through this func
|
# we only want our one jinja template to run through this func
|
||||||
if "shared-bindings/index" not in docname:
|
if "shared-bindings/support_matrix" not in docname:
|
||||||
return
|
return
|
||||||
|
|
||||||
src = source[0]
|
src = source[0]
|
||||||
|
@ -14,18 +14,7 @@ Modules
|
|||||||
:glob:
|
:glob:
|
||||||
:maxdepth: 3
|
:maxdepth: 3
|
||||||
|
|
||||||
|
support_matrix
|
||||||
*/__init__
|
*/__init__
|
||||||
help
|
help
|
||||||
|
|
||||||
.. _module-support-matrix:
|
.. _module-support-matrix:
|
||||||
|
|
||||||
Support Matrix
|
|
||||||
---------------
|
|
||||||
|
|
||||||
================= ==============================
|
|
||||||
Module Not Available On
|
|
||||||
================= ==============================
|
|
||||||
{%- for key, value in support_matrix|dictsort %}
|
|
||||||
{{ value.name.ljust(18) }} {{ value.excluded|join(", ") }}{{ '\n'|e }}
|
|
||||||
{%- endfor %}
|
|
||||||
================= ==============================
|
|
||||||
|
14
shared-bindings/support_matrix.rst
Normal file
14
shared-bindings/support_matrix.rst
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Support Matrix
|
||||||
|
===============
|
||||||
|
|
||||||
|
The following table lists the available built-in modules for each CircuitPython
|
||||||
|
capable board.
|
||||||
|
|
||||||
|
.. csv-table::
|
||||||
|
:header-rows: 1
|
||||||
|
:widths: 7, 50
|
||||||
|
|
||||||
|
"Board", "Modules Available"
|
||||||
|
{% for key, value in support_matrix|dictsort -%}
|
||||||
|
"{{ key }}", "{{ '`' ~ value|join("`, `") ~ '`' }}"
|
||||||
|
{% endfor -%}
|
Loading…
x
Reference in New Issue
Block a user