ci: auto-regenerate files [skip ci]

This commit is contained in:
lowlighter
2022-01-25 21:17:27 -05:00
parent c08a17596d
commit 48752e4438
11 changed files with 144 additions and 13 deletions

View File

@@ -45,6 +45,7 @@ Plugins provide additional content and lets you customize rendered metrics.
* [⏰ WakaTime plugin <sub>`wakatime`</sub>](/source/plugins/wakatime/README.md)
**🎲 Maintained by community**
* [🥠 Fortune <sub>`fortune`</sub>](/source/plugins/community/fortune/README.md) by [@lowlighter](https://github.com/lowlighter)
* [💉 Nightscout <sub>`nightscout`</sub>](/source/plugins/community/nightscout/README.md) by [@legoandmars](https://github.com/legoandmars)
* [💩 PoopMap plugin <sub>`poopmap`</sub>](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
* [📸 Website screenshot <sub>`screenshot`</sub>](/source/plugins/community/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter)

View File

@@ -2,31 +2,41 @@
<tr><th colspan="2"><h3>🎲 Community plugins</h3></th></tr>
<tr><td colspan="2" align="center">Additional plugins maintained by community for even more features!</td></tr>
<tr>
<th><a href="source/plugins/community/fortune/README.md">🥠 Fortune</a></th>
<th><a href="source/plugins/community/nightscout/README.md">💉 Nightscout</a></th>
<th><a href="source/plugins/community/poopmap/README.md">💩 PoopMap plugin</a></th>
</tr>
<tr>
<td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.fortune.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
<td align="center">
<img alt="" width="400" src="https://github.com/legoandmars/legoandmars/blob/master/metrics.plugin.nightscout.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
</tr> <tr>
<th><a href="source/plugins/community/poopmap/README.md">💩 PoopMap plugin</a></th>
<th><a href="source/plugins/community/screenshot/README.md">📸 Website screenshot</a></th>
</tr>
<tr>
<td align="center">
<img alt="" width="400" src="https://github.com/matievisthekat/matievisthekat/blob/master/metrics.plugin.poopmap.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
</tr> <tr>
<th><a href="source/plugins/community/screenshot/README.md">📸 Website screenshot</a></th>
<th><a href="source/plugins/community/stock/README.md">💹 Stock prices</a></th>
</tr>
<tr>
<td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.screenshot.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
</tr> <tr>
<th><a href="source/plugins/community/stock/README.md">💹 Stock prices</a></th>
<th></th>
</tr>
<tr>
<td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stock.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
<td align="center"><img width="900" height="1" alt=""></td>
</tr>
</table>

View File

@@ -1,12 +1,60 @@
<!--header-->
<table>
<tr><th colspan="2"><h3>🥠 Fortune</h3></th></tr>
<tr><td colspan="2" align="center"><p>This plugins displays a random fortune message</p>
</td></tr>
<tr><th>Authors</th><td><a href="https://github.com/lowlighter">@lowlighter</a></td></tr>
<tr>
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
<td><a href="/source/templates/classic/README.md"><code>📗 Classic template</code></a></td>
</tr>
<tr>
<td><code>👤 Users</code></td>
</tr>
<tr>
<td><i>No tokens are required for this plugin</i></td>
</tr>
<tr>
<td colspan="2" align="center">
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.fortune.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
</tr>
</table>
<!--/header-->
## ➡️ Available options
<!--options-->
<table>
<tr>
<td align="center" nowrap="nowrap">Type</i></td><td align="center" nowrap="nowrap">Description</td>
</tr>
<tr>
<td nowrap="nowrap"><code>plugin_fortune</code></td>
<td rowspan="2"><p>Enable fortune plugin</p>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
<td nowrap="nowrap">✨ On <code>master</code>/<code>main</code><br>
<b>type:</b> <code>boolean</code>
<br>
<b>default:</b> no<br></td>
</tr>
</table>
<!--/options-->
## Examples workflows
<!--examples-->
```yaml
name: Fortune
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.fortune.svg
token: NOT_NEEDED
base: ""
plugin_fortune: yes
```
<!--/examples-->

View File

@@ -15,7 +15,8 @@
</tr>
<tr>
<td colspan="2" align="center">
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img>
<details open><summary>Chartist charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.chartist.svg" alt=""></img></details>
<details><summary>Classic charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details>
<img width="900" height="1" alt="">
</td>
</tr>
@@ -39,6 +40,22 @@
<br>
<b>default:</b> no<br></td>
</tr>
<tr>
<td nowrap="nowrap"><code>plugin_stargazers_charts_type</code></td>
<td rowspan="2"><p>Charts display type</p>
<ul>
<li><code>classic</code>: <code>&lt;div&gt;</code> based charts, simple and lightweight</li>
<li><code>chartist</code>: <code>&lt;svg&gt;</code> based charts, smooth</li>
</ul>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
<td nowrap="nowrap">✨ On <code>master</code>/<code>main</code><br>
<b>type:</b> <code>string</code>
<br>
<b>default:</b> null<br>
<b>allowed values:</b><ul><li>classic</li><li>chartist</li></ul></td>
</tr>
</table>
<!--/options-->
@@ -46,7 +63,7 @@
<!--examples-->
```yaml
name: Last weeks stargazers
name: Using classic charts
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.stargazers.svg
@@ -54,5 +71,16 @@ with:
base: ""
plugin_stargazers: yes
```
```yaml
name: Using chartist charts
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.stargazers.chartist.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
plugin_stargazers_charts_type: chartist
```
<!--/examples-->