freeCodeCamp / devdocs

API Documentation Browser
https://devdocs.io
Mozilla Public License 2.0
35.09k stars 2.34k forks source link

Include "baseline" alerts from MDN #2198

Open paschun opened 5 months ago

paschun commented 5 months ago

Feature request

Include "baseline" alerts from MDN. For CSS/HTML/JS/DOM docs

Summary

It's cool and useful and easy to know if a feature has cross-browser support. Just include the alert box that's in the source docs, as opposed to forcing users to navigate away to caniuse or MDN to check for support.

Examples

https://developer.mozilla.org/en-US/docs/Web/API/AbortController/AbortController (baseline: widely available) https://devdocs.io/dom/abortcontroller/abortcontroller (not there) https://developer.mozilla.org/en-US/docs/Web/CSS/:has (baseline: newly available)

https://web.dev/explore/baseline/2023 https://github.com/web-platform-dx/web-features/blob/main/packages/web-features/README.md?plain=1#L21-L24

Screenshot 2024-04-17 at 17 58 11 Screenshot 2024-04-17 at 18 02 40
paschun commented 5 months ago

Just noticed one page that does have a Baseline tag at the top, however it says Baseline: Widely supported on devdocs, but Baseline: newly available on MDN.

https://developer.mozilla.org/en-US/docs/Web/CSS/@layer