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
|
||||
|
||||
# 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 %}
|
||||
================= ==============================
|
||||
|
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…
Reference in New Issue
Block a user