move the support matrix to its own page; add linking for modules

crypto-aes
sommersoft 4 years ago
parent 19e504f182
commit c6ac0ba683

@ -10,7 +10,7 @@ def rstjinja(app, docname, source):
return
# 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
src = source[0]

@ -14,18 +14,7 @@ Modules
:glob:
:maxdepth: 3
support_matrix
*/__init__
help
.. _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 %}
================= ==============================

@ -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…
Cancel
Save