Skip to content

Commit

Permalink
ci: auto-regenerate files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 16, 2023
1 parent ff10083 commit 2ca1f47
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</tr>
<tr>
<th colspan="2" align="center">
<h3><a href="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/README.md#-plugins">🧩 Customizable with 46 plugins and 328 options!</a></h3>
<h3><a href="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/README.md#-plugins">🧩 Customizable with 46 plugins and 329 options!</a></h3>
</th>
</tr>
<tr>
Expand Down Expand Up @@ -47,7 +47,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
<tr>
<td align="center">
<details open><summary>Classic charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details>
<details><summary>Chartist charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.chartist.svg" alt=""></img></details>
<details><summary>Graph charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.graph.svg" alt=""></img></details>
<details open><summary>Worldmap</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.worldmap.svg" alt=""></img></details>
<img width="900" height="1" alt="">
</td>
Expand Down
4 changes: 4 additions & 0 deletions action.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/plugins/community/stock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<tr>
<td nowrap="nowrap">🌐 Web instances must configure <code>settings.json</code>:
<ul>
<li><i>metrics.npm.optional.chartist</i></li>
<li><i>metrics.npm.optional.d3</i></li>
<li><i>metrics.api.yahoo.finance</i></li>
</ul>
<b>type:</b> <code>boolean</code>
Expand Down
9 changes: 6 additions & 3 deletions source/plugins/habits/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,22 @@ Recent language activity may also displayed (it requires extras features to be e
<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>
<li><code>graph</code>: <code>&lt;svg&gt;</code> based charts, smooth</li>
</ul>
<blockquote>
<p>⚠️ <code>chartist</code> option has been deprecated and is now equivalent to <code>graph</code></p>
</blockquote>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
<td nowrap="nowrap">🌐 Web instances must configure <code>settings.json</code>:
<ul>
<li><i>metrics.npm.optional.chartist</i></li>
<li><i>metrics.npm.optional.d3</i></li>
</ul>
<b>type:</b> <code>string</code>
<br>
<b>default:</b> classic<br>
<b>allowed values:</b><ul><li>classic</li><li>chartist</li></ul></td>
<b>allowed values:</b><ul><li>classic</li><li>graph</li><li>chartist</li></ul></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_habits_trim</code></h4></td>
Expand Down
4 changes: 4 additions & 0 deletions source/plugins/lines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ with:
plugin_lines_sections: repositories, history
plugin_lines_repositories_limit: 2
plugin_lines_history_limit: 1
repositories_skipped: |
@use.patterns
*/*
+lowlighter/metrics
```
<!--/examples-->
32 changes: 25 additions & 7 deletions source/plugins/stargazers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ All product and company names are trademarks™ or registered® trademarks of th
<tr>
<td colspan="2" align="center">
<details open><summary>Classic charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details>
<details><summary>Chartist charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.chartist.svg" alt=""></img></details>
<details><summary>Graph charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.graph.svg" alt=""></img></details>
<details open><summary>Worldmap</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.worldmap.svg" alt=""></img></details>
<img width="900" height="1" alt="">
</td>
Expand Down Expand Up @@ -55,6 +55,21 @@ Follow instructions from their [documentation](https://developers.google.com/map
<td nowrap="nowrap"><b>type:</b> <code>boolean</code>
<br>
<b>default:</b> no<br></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_stargazers_days</code></h4></td>
<td rowspan="2"><p>Time range</p>
<p>If set to <code>0</code> the account registration date will be used.</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>zero behaviour:</b> see description</br>
<b>default:</b> 14<br></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_stargazers_charts</code></h4></td>
Expand All @@ -72,19 +87,22 @@ Follow instructions from their [documentation](https://developers.google.com/map
<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>
<li><code>graph</code>: <code>&lt;svg&gt;</code> based charts, smooth</li>
</ul>
<blockquote>
<p>⚠️ <code>chartist</code> option has been deprecated and is now equivalent to <code>graph</code></p>
</blockquote>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
<td nowrap="nowrap">🌐 Web instances must configure <code>settings.json</code>:
<ul>
<li><i>metrics.npm.optional.chartist</i></li>
<li><i>metrics.npm.optional.d3</i></li>
</ul>
<b>type:</b> <code>string</code>
<br>
<b>default:</b> classic<br>
<b>allowed values:</b><ul><li>classic</li><li>chartist</li></ul></td>
<b>allowed values:</b><ul><li>classic</li><li>graph</li><li>chartist</li></ul></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_stargazers_worldmap</code></h4></td>
Expand Down Expand Up @@ -143,14 +161,14 @@ with:

```
```yaml
name: Using chartist charts
name: Using graph charts
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.stargazers.chartist.svg
filename: metrics.plugin.stargazers.graph.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
plugin_stargazers_charts_type: chartist
plugin_stargazers_charts_type: graph

```
```yaml
Expand Down

0 comments on commit 2ca1f47

Please sign in to comment.