docs: move templated files to a dedicated folder
This commit is contained in:
16
.github/readme/partials/templated/plugins.md
vendored
Normal file
16
.github/readme/partials/templated/plugins.md
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
## 🧩 Plugins
|
||||
|
||||
Plugins provide additional content and lets you customize rendered metrics.
|
||||
|
||||
**📦 Maintained by core team**
|
||||
<% { let previous = null; for (const [plugin, {name, category, authors = []}] of Object.entries(plugins).filter(([key, value]) => (value)&&(value.category !== "community")).sort(([an, a], [bn, b]) => a.category === b.category ? an.localeCompare(bn) : 0)) { %>
|
||||
<% if (previous !== category) { previous = category -%>
|
||||
* **<%= `${category.charAt(0).toLocaleUpperCase()}${category.substring(1)} plugins` %>**
|
||||
<% } -%>
|
||||
* [<%- name %> <sub>`<%= plugin %>`</sub>](/source/plugins/<%= plugin %>/README.md)<%# -%>
|
||||
<% }} %>
|
||||
|
||||
**🎲 Maintained by community**
|
||||
<% { let previous = null; for (const [plugin, {name, category, authors = []}] of Object.entries(plugins).filter(([key, value]) => (value)&&(value.category === "community")).sort(([an, a], [bn, b]) => a.category === b.category ? an.localeCompare(bn) : 0)) { %><%# -%>
|
||||
* [<%- name %> <sub>`<%= plugin %>`</sub>](/source/plugins/<%= plugin %>/README.md) by <%- authors.map(author => `[@${author}](https://github.com/${author})`).join(" ") %>
|
||||
<% }} %>
|
||||
Reference in New Issue
Block a user