GitToTheHub commented on PR #1500:
URL: https://github.com/apache/cordova-docs/pull/1500#issuecomment-4501161154

   It's true, that on a release this would have to be updated like when 
cordova-ios 8.1.0 would be released. If cordova.apache.org would support NPM 
badges by shields.io, which it currently not does, like it can be seen for 
[cordova-plugin-network-information](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-network-information/index.html)
 due to CSP erros:
   
   ```log
   Refused to load 
https://img.shields.io/npm/v/cordova-plugin-network-information/latest?label=Latest%20Release%20(npm)
 because it appears in neither the img-src directive nor the default-src 
directive of the Content Security Policy.
   ```
   
   this could be automated like already done on the README for the platform 
e.g. [cordova-ios](https://github.com/apache/cordova-ios/blob/master/README.md).
   
   If a major would be created, cordova-docs has to be anyway updated for it, 
but the npm badge would have to move to the next major.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to