Files
metrics/.github/readme/partials/documentation/compatibility.md

1.9 KiB

🧰 Plugin compatibility matrix

<%# -%> <% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %> <% } %> <%# -%> <% for (const [template, {name, readme}] of Object.entries(templates).filter(([key, value]) => (value)&&(!["community"].includes(key)))) { %> <%# -%> <% for (const [plugin] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %> <% } %> <% } %> <%# -%> <% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %> <% } %> <%# -%> <% for (const {mode, icon} of [{mode:"user", icon:"👤"}, {mode:"organization", icon:"👥"}, {mode:"repository", icon:"📓"}]) { %> <%# -%> <% for (const [plugin, {supports}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) {%> <% } %> <% } %>
Template/Plugin<%= icon %>
<%- name %><%= {true:"✔️", false:"", embed:"✓"}[readme.compatibility[plugin]] %>
Mode/Plugin<%= icon %>
<%= icon %> <%- `${mode.charAt(0).toLocaleUpperCase()}${mode.substring(1)}` %><%= supports.includes(mode) ? "✔️" : "" %>

Note: markdown template can actually render any kind of SVG metrics using embed function