sl-design-system / components

SL Design System
https://sanomalearning.design/
Apache License 2.0
43 stars 4 forks source link

[POC] status badge in readme.md files (automatically) #1212

Open DanielleRameau opened 6 months ago

DanielleRameau commented 6 months ago

Create a single source of truth for the status of a component and show it in component packages.

### Tasks
- [ ] show in read me files
- [ ] show in 11ty
- [ ] show in storybook
jpzwarte commented 5 months ago

So I look into this and found the following:

In order to have a dynamic badge in the README, you need a web service that returns an image based on a query parameter. There are some available services for this, but those do not allow for the kind of badge we want. We would have to create our own service to do this. That is not trivial. So for now i think it's easiest to just update the status in multiple places.