forked from lowlighter/metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yml
62 lines (55 loc) · 1.55 KB
/
metadata.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: "🗨️ StackOverflow plugin"
category: social
description: This plugin displays stats, questions and answer from [stackoverflow](https://stackoverflow.com/).
examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stackoverflow.svg
index: 3
supports:
- user
- organization
scopes: []
inputs:
plugin_stackoverflow:
description: Enable stackoverflow plugin
type: boolean
default: no
plugin_stackoverflow_user:
description: Stackoverflow user id
type: number
default: 0
preset: no
plugin_stackoverflow_sections:
description: |
Displayed sections
- `answers-top`: display most popular answers
- `answers-recent`: display recent answers
- `questions-top`: display most popular questions
- `questions-recent`: display recent questions
type: array
format: comma-separated
default: answers-top, questions-recent
values:
- answers-top
- answers-recent
- questions-top
- questions-recent
plugin_stackoverflow_limit:
description: Display limit (per section)
type: number
default: 2
min: 1
max: 30
plugin_stackoverflow_lines:
description: |
Display limit for questions and answers
Code snippets count as a single line and must be configured with `plugin_stackoverflow_lines_snippet` instead
type: number
default: 4
min: 0
zero: disable
plugin_stackoverflow_lines_snippet:
description: Display limit for code snippets
type: number
default: 2
min: 0
zero: disable