repo: reorder .github

This commit is contained in:
lowlighter
2022-01-14 02:14:10 -05:00
parent 43dac8a8dc
commit 78eb3e51ec
20 changed files with 157 additions and 162 deletions

View File

@@ -0,0 +1,18 @@
### 📕 <%= `${name.charAt(0).toLocaleUpperCase()}${name.substring(1)}` %> template
<table>
<td align="center">
<img src="">
<img width="900" height="1" alt="">
</td>
</table>
#### Examples workflows
```yaml
- uses: lowlighter/metrics@latest
with:
# ... other options
setup_community_templates: user/metrics@master:<%= name %>
template: "@<%= name %>"
```

View File

@@ -0,0 +1,16 @@
<svg xmlns="http://www.w3.org/2000/svg" width="480" height="99999" class="<%%= !animated ? 'no-animations' : '' %>">
<defs><style><%%= fonts %></style></defs>
<style data-optimizable="true"><%%= style %></style>
<foreignObject x="0" y="0" width="100%" height="100%">
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">
<%% for (const partial of [...partials]) { %>
<%%- await include(`partials/${partial}.ejs`) %>
<%% } %>
<div id="metrics-end"></div>
</div>
</foreignObject>
</svg>

After

Width:  |  Height:  |  Size: 562 B

View File

@@ -0,0 +1,14 @@
name: "🖼️ Template name"
extends: classic # Fallback to "classic" template "template.mjs" if not trusted
index: ~ # Leave as it (this is used to order plugins on metrics README.md)
supports:
- user # Support users account
- organization # Support organizations account
- repository # Support repositories metrics
formats:
- svg # Support SVG output
- png # Support PNG output
- jpeg # Support JPEG output
- json # Support JSON output
- markdown # Support markdown output
- markdown-pdf # Support PDF output

View File

@@ -0,0 +1,5 @@
[
"base.header",
"base.activity+community",
"base.repositories"
]