Update documentation and reorder plugins by categorie

This commit is contained in:
lowlighter
2021-02-17 14:09:20 +01:00
parent 27ff6585ff
commit 404c643bcf
9 changed files with 27 additions and 19 deletions

View File

@@ -2,6 +2,9 @@
Plugins are features which provide additional content and lets you customize your rendered metrics.
See their respective documentation for more informations about how to setup them:
<% for (const [plugin, {name}] of Object.entries(plugins).filter(([key, value]) => value)) { %>
* [<%= name %>](/source/plugins/<%= plugin %>/README.md)<%# -%>
<% } %>
<% { let previous = null; for (const [plugin, {name, categorie}] of Object.entries(plugins).filter(([key, value]) => value)) { %>
<% if (previous !== categorie) { previous = categorie -%>
* **<%= `${categorie.charAt(0).toLocaleUpperCase()}${categorie.substring(1)}` %>**
<% } -%>
* [<%= name %>](/source/plugins/<%= plugin %>/README.md)<%# -%>
<% }} %>