Factor out Deferred Fetch documentation, shows Baseline on Fetch API#43480
Factor out Deferred Fetch documentation, shows Baseline on Fetch API#43480
Conversation
|
Preview URLs (2 pages) |
|
My primary goal here is to put a big green "Baseline: Widely Available" banner on https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API. There's kinda no reasonable way to show a banner on that page when it's documenting a mix of Maybe the moral of this story is to just wait until Fetch API is hardly alone in having this issue.
|
|
But then we don't have a consistent editorial definition of what an "API" is. Currently our definition is more or less "one spec, one API"; the only exceptions I know are HTML and DOM which are split because of how big their scopes are, and some specs that are coalesced into a single API because of how unified their scopes are. Most specs can be extended, and it would be really awkward if each extension has to become its own API just for the sake of preserving the old API's baseline. After all, API groups don't have the concept of "baseline" anyway; only individual interfaces do. |
|
Thanks @dfabulich. As @Josh-Cena says, we can't have these changes;
The intent is great, but baseline needs to change to fit the docs, not the docs to the baseline. It would be good is to create an issue in https://github.com/mdn/fred/issues to note that
Closing this though. |
Description
Factor out Deferred Fetch documentation from the main "Fetch API" page.
Motivation
After this change, we now show a "Baseline: Widely Available" banner on the "Fetch API" page, and a "Baseline: Limited Availability" banner on the "Using Deferred Fetch" page.
Related issues and pull requests
Fixes #43479