Skip to content

Latest commit

 

History

History
134 lines (129 loc) · 4.36 KB

File metadata and controls

134 lines (129 loc) · 4.36 KB
← Back to plugins index

🗨️ Stack Overflow

This plugin displays stats, questions and answer from Stack Overflow.

⚠️ Disclaimer

This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Stack Overflow. All product and company names are trademarks™ or registered® trademarks of their respective holders.

Supported features
→ Full specification
📗 Classic template
👤 Users 👥 Organizations
No tokens are required for this plugin

➡️ Available options

OptionDescription

plugin_stackoverflow

Enable stackoverflow plugin

type: boolean
default: no

plugin_stackoverflow_user

Stackoverflow user id

⏯️ Cannot be preset
type: number
default: 0

plugin_stackoverflow_sections

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 (comma-separated)
default: answers-top, questions-recent
allowed values:
  • answers-top
  • answers-recent
  • questions-top
  • questions-recent

plugin_stackoverflow_limit

Display limit (entries per section)

type: number (1 ≤ 𝑥 ≤ 30)
default: 2

plugin_stackoverflow_lines

Display limit (lines per questions and answers)

Code snippets count as a single line and must be configured with plugin_stackoverflow_lines_snippet instead

type: number (0 ≤ 𝑥)
zero behaviour: disable
default: 4

plugin_stackoverflow_lines_snippet

Display limit (lines per code snippets)

type: number (0 ≤ 𝑥)
zero behaviour: disable
default: 2

ℹ️ Examples workflows

name: Top answers from stackoverflow
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.stackoverflow.svg
  token: NOT_NEEDED
  base: ""
  plugin_stackoverflow: yes
  plugin_stackoverflow_user: 1
  plugin_stackoverflow_sections: answers-top
  plugin_stackoverflow_limit: 2