Move badge URLs into integrations.go as constants
jscharber opened this issue · comments
John Scharber commented
Today we put quality badges for MD / HTML into the definitions file making it and end-users problem. We need to move this into the integration logic and generate them. That means the end-user can just specify which badges they want.
If the entire integration is disabled, no badges should be generated and any specified in the definitions file can be ignored.
This is a large change involving
- Extend github.com/pavedroad-io/integrations to generate all required badges
- Modify definitions structure to take a list of enabled badges instead of the current enabled, URL, name
- Modify describe command to use the new syntax
- Modify existing example code samples
- Update documentation
- Update UI structs in github.com/pavedroad-io/frontend