/about: Obtain credits from docs metadata #1293
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Request for comments.
We could store the attribution/license information in the docs metadata. For leaflet, this would be
{ "name": "Leaflet", "slug": "leaflet~1.6", "type": "simple", "links": { "home": "https://leafletjs.com/", + "license": "https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE", "code": "https://github.com/Leaflet/Leaflet" }, "version": "1.6", "release": "1.6.0", + "attribution": " © 2010–2019 Vladimir Agafonkin<br>\n © 2010–2011, CloudMade<br>\n Maps © OpenStreetMap contributors.\n", + "license": "BSD", "mtime": 1604697350, "db_size": 722507 }This allows us to get rid of ½ step from the updating checklist. However, the main https://devdocs.io/docs.json file would get (considerably?) larger.