Add templates metadata (#273)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
### 📗 Classic
|
||||
### 📗 Classic template
|
||||
|
||||
Default template, mimicking GitHub visual identity.
|
||||
|
||||
@@ -11,6 +11,8 @@ Default template, mimicking GitHub visual identity.
|
||||
|
||||
#### ℹ️ Examples workflows
|
||||
|
||||
[➡️ Supported formats and inputs](metadata.yml)
|
||||
|
||||
```yaml
|
||||
- uses: lowlighter/metrics@latest
|
||||
with:
|
||||
|
||||
10
source/templates/classic/metadata.yml
Normal file
10
source/templates/classic/metadata.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: "📗 Classic template"
|
||||
index: 0
|
||||
supports:
|
||||
- user
|
||||
- organization
|
||||
formats:
|
||||
- svg
|
||||
- png
|
||||
- jpeg
|
||||
- json
|
||||
@@ -1,4 +1,4 @@
|
||||
### 📒 Markdown
|
||||
### 📒 Markdown template
|
||||
|
||||
Markdown template can render a **markdown template** by interpreting **templating brackets** `{{` and `}}`.
|
||||
|
||||
@@ -24,6 +24,8 @@ For convenience, several useful properties are aliased in [/source/templates/mar
|
||||
|
||||
#### ℹ️ Examples workflows
|
||||
|
||||
[➡️ Supported formats and inputs](metadata.yml)
|
||||
|
||||
```yaml
|
||||
# Markdown output
|
||||
- uses: lowlighter/metrics@latest
|
||||
@@ -33,7 +35,6 @@ For convenience, several useful properties are aliased in [/source/templates/mar
|
||||
filename: README.md # Output file
|
||||
markdown: TEMPLATE.md # Template file
|
||||
markdown_cache: .cache # Cache folder
|
||||
config_output: markdown # Output as markdown file
|
||||
```
|
||||
|
||||
```yaml
|
||||
|
||||
9
source/templates/markdown/metadata.yml
Normal file
9
source/templates/markdown/metadata.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
name: "📒 Markdown template"
|
||||
index: 3
|
||||
supports:
|
||||
- user
|
||||
- organization
|
||||
formats:
|
||||
- markdown
|
||||
- markdown-pdf
|
||||
- json
|
||||
@@ -1,4 +1,4 @@
|
||||
### 📘 Repository
|
||||
### 📘 Repository template
|
||||
|
||||
Template crafted for repositories, mimicking GitHub visual identity.
|
||||
|
||||
@@ -11,6 +11,8 @@ Template crafted for repositories, mimicking GitHub visual identity.
|
||||
|
||||
#### ℹ️ Examples workflows
|
||||
|
||||
[➡️ Supported formats and inputs](metadata.yml)
|
||||
|
||||
```yaml
|
||||
- uses: lowlighter/metrics@latest
|
||||
with:
|
||||
|
||||
9
source/templates/repository/metadata.yml
Normal file
9
source/templates/repository/metadata.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
name: "📘 Repository template"
|
||||
index: 1
|
||||
supports:
|
||||
- repository
|
||||
formats:
|
||||
- svg
|
||||
- png
|
||||
- jpeg
|
||||
- json
|
||||
@@ -1,4 +1,4 @@
|
||||
### 📙 Terminal
|
||||
### 📙 Terminal template
|
||||
|
||||
Terminal template, mimicking a SSH session.
|
||||
|
||||
@@ -11,6 +11,8 @@ Terminal template, mimicking a SSH session.
|
||||
|
||||
#### ℹ️ Examples workflows
|
||||
|
||||
[➡️ Supported formats and inputs](metadata.yml)
|
||||
|
||||
```yaml
|
||||
- uses: lowlighter/metrics@latest
|
||||
with:
|
||||
|
||||
10
source/templates/terminal/metadata.yml
Normal file
10
source/templates/terminal/metadata.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: "📙 Terminal template"
|
||||
index: 2
|
||||
supports:
|
||||
- user
|
||||
- organization
|
||||
formats:
|
||||
- svg
|
||||
- png
|
||||
- jpeg
|
||||
- json
|
||||
Reference in New Issue
Block a user