From 5224acdfb3c2c9d131df3cbd13db2489c751e76e Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Fri, 16 Apr 2021 13:04:16 +0200 Subject: [PATCH] Update compatibility.md --- .../partials/documentation/compatibility.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/readme/partials/documentation/compatibility.md b/.github/readme/partials/documentation/compatibility.md index 348bfdcc..d42d512a 100644 --- a/.github/readme/partials/documentation/compatibility.md +++ b/.github/readme/partials/documentation/compatibility.md @@ -8,22 +8,22 @@ <%# -%> <% for (const [template, {name, readme}] of Object.entries(templates).filter(([key, value]) => (value)&&(!["community"].includes(key)))) { %> - <%- name %><%# -%> + <%- name %><%# -%> <% for (const [plugin] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %> - <%= readme.compatibility[plugin] ? "✔️" : "❌" %><% } %> + <%= readme.compatibility[plugin] ? "✔️" : "❌" %><% } %> <% } %> - - - + + + <%# -%> <% for (const [plugin, {name, icon}] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %> <% } %> <%# -%> - <% for (const mode of ["user", "organization", "repository"]) { %> + <% 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)))) {%> - <% } %> + <% } %> <% } %>
Mode/Plugin<%= icon %>
<%- `${mode.charAt(0).toLocaleUpperCase()}${mode.substring(1)}` %><%= icon %> <%- `${mode.charAt(0).toLocaleUpperCase()}${mode.substring(1)}` %><%= supports.includes(mode) ? "✔️" : "❌" %><%= supports.includes(mode) ? "✔️" : "❌" %>