ci: auto-regenerate files

This commit is contained in:
lowlighter
2022-01-15 00:17:23 -05:00
parent c0420d0289
commit 30eeaeeb94
7 changed files with 16 additions and 20 deletions

View File

@@ -2,14 +2,14 @@
Plugins provide additional content and lets you customize your rendered metrics. Plugins provide additional content and lets you customize your rendered metrics.
* **📦 Maintained by core team** **📦 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)) { %> <% { 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 -%> <% if (previous !== category) { previous = category -%>
* **<%= `${category.charAt(0).toLocaleUpperCase()}${category.substring(1)}` %>** * **<%= `${category.charAt(0).toLocaleUpperCase()}${category.substring(1)}` %>**
<% } -%> <% } -%>
* [<%- name %>](/source/plugins/<%= plugin %>/README.md)<%# -%> * [<%- name %>](/source/plugins/<%= plugin %>/README.md)<%# -%>
<% }} %> <% }} %>
* **🎲 Maintained by community** **🎲 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)) { %><%# -%> <% { 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 %>](/source/plugins/<%= plugin %>/README.md) by <%- authors.map(author => `[@${author}](https://github.com/${author})`).join(" ") %> * [<%- name %>](/source/plugins/<%= plugin %>/README.md) by <%- authors.map(author => `[@${author}](https://github.com/${author})`).join(" ") %>
<% }} %> <% }} %>

View File

@@ -1,9 +1,8 @@
## 🧩 Plugins ## 🧩 Plugins
Plugins are features which provide additional content and lets you customize your rendered metrics. Plugins provide additional content and lets you customize your rendered metrics.
See their respective documentation for more informations about how to setup them.
The following plugins are maintained by Metric's core team: **📦 Maintained by core team**
* **Core** * **Core**
* [🗃️ Base content](/source/plugins/base/README.md) * [🗃️ Base content](/source/plugins/base/README.md)
@@ -45,10 +44,7 @@ The following plugins are maintained by Metric's core team:
* [💹 Stock prices](/source/plugins/stock/README.md) * [💹 Stock prices](/source/plugins/stock/README.md)
* [🐤 Latest tweets](/source/plugins/tweets/README.md) * [🐤 Latest tweets](/source/plugins/tweets/README.md)
* [⏰ WakaTime plugin](/source/plugins/wakatime/README.md) * [⏰ WakaTime plugin](/source/plugins/wakatime/README.md)
**🎲 Maintained by community**
### 🎲 Community plugins * [💉 Nightscout](/source/plugins/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars)
* [💩 PoopMap plugin](/source/plugins/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
The following plugins are provided and maintained by Metrics's user community: * [📸 Website screenshot](/source/plugins/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter)
* [💉 Nightscout](/source/plugins/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars)
* [💩 PoopMap plugin](/source/plugins/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
* [📸 Website screenshot](/source/plugins/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter)

View File

@@ -1,7 +1,7 @@
## 🖼️ Templates ## 🖼️ Templates
Templates lets you change general appearance of rendered metrics. Templates lets you change general appearance of rendered metrics.
See their respective documentation for more informations about how to setup them:
* [📗 Classic template](/source/templates/classic/README.md) * [📗 Classic template](/source/templates/classic/README.md)
* [📘 Repository template](/source/templates/repository/README.md) * [📘 Repository template](/source/templates/repository/README.md)

View File

@@ -13,7 +13,7 @@
<td>*️⃣ SVG, *️⃣ PNG, *️⃣ JPEG, #⃣ JSON</td> <td>*️⃣ SVG, *️⃣ PNG, *️⃣ JPEG, #⃣ JSON</td>
</tr> </tr>
<tr> <tr>
<td colspan="2" align="center"> <td colspan="2" align="center">
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.classic.svg" alt=""></img> <img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.classic.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>

View File

@@ -13,7 +13,7 @@
<td>#⃣ JSON, 🔠 Markdown, 🔠 Markdown (PDF)</td> <td>#⃣ JSON, 🔠 Markdown, 🔠 Markdown (PDF)</td>
</tr> </tr>
<tr> <tr>
<td colspan="2" align="center"> <td colspan="2" align="center">
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.markdown.png" alt=""></img> <img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.markdown.png" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>

View File

@@ -13,7 +13,7 @@
<td>*️⃣ SVG, *️⃣ PNG, *️⃣ JPEG, #⃣ JSON</td> <td>*️⃣ SVG, *️⃣ PNG, *️⃣ JPEG, #⃣ JSON</td>
</tr> </tr>
<tr> <tr>
<td colspan="2" align="center"> <td colspan="2" align="center">
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.repository.svg" alt=""></img> <img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.repository.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>

View File

@@ -13,7 +13,7 @@
<td>*️⃣ SVG, *️⃣ PNG, *️⃣ JPEG, #⃣ JSON</td> <td>*️⃣ SVG, *️⃣ PNG, *️⃣ JPEG, #⃣ JSON</td>
</tr> </tr>
<tr> <tr>
<td colspan="2" align="center"> <td colspan="2" align="center">
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.terminal.svg" alt=""></img> <img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.terminal.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>