ci: auto-regenerate files
This commit is contained in:
@@ -29,7 +29,7 @@ Plugins provide additional content and lets you customize rendered metrics.
|
||||
* [📓 Featured repositories <sub>`repositories`</sub>](/source/plugins/repositories/README.md)
|
||||
* [🌇 GitHub Skyline <sub>`skyline`</sub>](/source/plugins/skyline/README.md)
|
||||
* [💕 GitHub Sponsors <sub>`sponsors`</sub>](/source/plugins/sponsors/README.md)
|
||||
* [✨ Stargazers over last weeks <sub>`stargazers`</sub>](/source/plugins/stargazers/README.md)
|
||||
* [✨ Stargazers <sub>`stargazers`</sub>](/source/plugins/stargazers/README.md)
|
||||
* [💫 Star lists <sub>`starlists`</sub>](/source/plugins/starlists/README.md)
|
||||
* [🌟 Recently starred repositories <sub>`stars`</sub>](/source/plugins/stars/README.md)
|
||||
* [💭 GitHub Community Support <sub>`support`</sub>](/source/plugins/support/README.md)
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.svg" alt=""></img>
|
||||
<details open><summary>Repositories and diff history</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.history.svg" alt=""></img></details>
|
||||
<details><summary>Compact display in base plugin</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.svg" alt=""></img></details>
|
||||
<img width="900" height="1" alt="">
|
||||
</td>
|
||||
</tr>
|
||||
@@ -51,6 +52,50 @@
|
||||
<i>(comma-separated)</i>
|
||||
<br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_lines_sections</code></h4></td>
|
||||
<td rowspan="2"><p>Displayed sections</p>
|
||||
<ul>
|
||||
<li><code>base</code> will display the total lines added and removed in <code>base.repositories</code> section</li>
|
||||
<li><code>repositories</code> will display repositories with the most lines added and removed</li>
|
||||
<li><code>history</code> will display a graph displaying lines added and removed over time</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>array</code>
|
||||
<i>(comma-separated)</i>
|
||||
<br>
|
||||
<b>default:</b> base<br>
|
||||
<b>allowed values:</b><ul><li>base</li><li>repositories</li><li>history</li></ul></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_lines_repositories_limit</code></h4></td>
|
||||
<td rowspan="2"><p>Display limit</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>number</code>
|
||||
<i>(0 ≤
|
||||
𝑥)</i>
|
||||
<br>
|
||||
<b>default:</b> 4<br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><h4><code>plugin_lines_history_limit</code></h4></td>
|
||||
<td rowspan="2"><p>Years to display</p>
|
||||
<p>Will display the last <code>n</code> years, relative to current year</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>number</code>
|
||||
<br>
|
||||
<b>zero behaviour:</b> disable</br>
|
||||
<b>default:</b> 1<br></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--/options-->
|
||||
|
||||
@@ -58,7 +103,7 @@
|
||||
|
||||
<!--examples-->
|
||||
```yaml
|
||||
name: Lines of code changed
|
||||
name: Compact display in base plugin
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.lines.svg
|
||||
@@ -66,5 +111,18 @@ with:
|
||||
base: repositories
|
||||
plugin_lines: yes
|
||||
|
||||
```
|
||||
```yaml
|
||||
name: Repositories and diff history
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.lines.history.svg
|
||||
token: ${{ secrets.METRICS_TOKEN }}
|
||||
base: ""
|
||||
plugin_lines: yes
|
||||
plugin_lines_sections: repositories, history
|
||||
plugin_lines_repositories_limit: 2
|
||||
plugin_lines_history_limit: 1
|
||||
|
||||
```
|
||||
<!--/examples-->
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<!--header-->
|
||||
<table>
|
||||
<tr><td colspan="2"><a href="/README.md#-plugins">← Back to plugins index</a></td></tr>
|
||||
<tr><th colspan="2"><h3>✨ Stargazers over last weeks</h3></th></tr>
|
||||
<tr><td colspan="2" align="center"><p>This plugin displays stargazers evolution across affiliated repositories over the last two weeks.</p>
|
||||
<tr><th colspan="2"><h3>✨ Stargazers</h3></th></tr>
|
||||
<tr><td colspan="2" align="center"><p>This plugin displays stargazers evolution across affiliated repositories.</p>
|
||||
</td></tr>
|
||||
<tr>
|
||||
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
|
||||
|
||||
Reference in New Issue
Block a user