79 lines
2.5 KiB
Markdown
79 lines
2.5 KiB
Markdown
<!--header-->
|
||
<table>
|
||
<tr><th colspan="2"><h3>📅 Isometric commit calendar</h3></th></tr>
|
||
<tr><td colspan="2" align="center">This plugin displays an isometric view of your commit calendar along with a few additional statistics like current streak and average number of commit per day.</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"><code>📗 Classic template</code></a> <a href="/source/templates/terminal"><code>📙 Terminal template</code></a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><code>👤 Users</code></td>
|
||
</tr>
|
||
<tr>
|
||
<td><code>🔑 (scopeless)</code> <code>read:org (optional)</code> <code>read:user (optional)</code> <code>repo (optional)</code></td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" align="center">
|
||
<details open><summary>Full year calendar</summary><img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.isocalendar.fullyear.svg" alt=""></img></details>
|
||
<details><summary>Half year calendar</summary><img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.isocalendar.svg" alt=""></img></details>
|
||
<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_isocalendar</code></td>
|
||
<td rowspan="2">Enable isocalendar plugin<img width="900" height="1" alt=""></td>
|
||
</tr>
|
||
<tr>
|
||
<td nowrap="nowrap"><b>type:</b> <code>boolean</code>
|
||
<br>
|
||
<b>default:</b> no<br></td>
|
||
</tr>
|
||
<tr>
|
||
<td nowrap="nowrap"><code>plugin_isocalendar_duration</code></td>
|
||
<td rowspan="2">Time window<img width="900" height="1" alt=""></td>
|
||
</tr>
|
||
<tr>
|
||
<td nowrap="nowrap"><b>type:</b> <code>string</code>
|
||
<br>
|
||
<b>default:</b> half-year<br>
|
||
<b>allowed values:</b><ul><li>half-year</li><li>full-year</li></ul></td>
|
||
</tr>
|
||
</table>
|
||
<!--/options-->
|
||
|
||
## ℹ️ Examples workflows
|
||
|
||
<!--examples-->
|
||
```yaml
|
||
name: Half-year calendar
|
||
uses: lowlighter/metrics@latest
|
||
with:
|
||
filename: metrics.plugin.isocalendar.svg
|
||
token: ${{ secrets.METRICS_TOKEN }}
|
||
base: ''
|
||
plugin_isocalendar: 'yes'
|
||
|
||
```
|
||
```yaml
|
||
name: Full-year calendar
|
||
uses: lowlighter/metrics@latest
|
||
with:
|
||
filename: metrics.plugin.isocalendar.fullyear.svg
|
||
token: ${{ secrets.METRICS_TOKEN }}
|
||
base: ''
|
||
plugin_isocalendar: 'yes'
|
||
plugin_isocalendar_duration: full-year
|
||
|
||
```
|
||
<!--/examples-->
|