-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
metadata.yml
71 lines (63 loc) · 1.95 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
63
64
65
66
67
68
69
70
71
name: 🗨️ Stack Overflow
category: social
description: |
This plugin displays stats, questions and answer from [Stack Overflow](https://stackoverflow.com/).
disclaimer: |
This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with [Stack Overflow](https://stackoverflow.com/).
All product and company names are trademarks™ or registered® trademarks of their respective holders.
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 (entries per section)
type: number
default: 2
min: 1
max: 30
plugin_stackoverflow_lines:
description: |
Display limit (lines per questions and answers)
Code snippets count as a single line and must be configured with [`plugin_stackoverflow_lines_snippet`](/source/plugins/stackoverflow/README.md#plugin_stackoverflow_lines_snippet) instead
type: number
default: 4
min: 0
zero: disable
plugin_stackoverflow_lines_snippet:
description: |
Display limit (lines per code snippets)
type: number
default: 2
min: 0
zero: disable