-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link MDN articles from W3C specs #24
Comments
Adding myself here, to remind me that I need to share this stuff with the MDN team. |
We are talking about the process by which to add links to W3C specs in #58, so we can probably close this to cut down on duplication? I am going to copy over the ongoing discussions that MDN should give input to, so we don't forgoet about it. |
maybe we can keep this issue focused on linking from W3C to MDN, and #58 from linking MDN to spec stuff? |
@dontcallmedom Again, shared this one with the MDN team. I will also send a mail to the spec folk I know in Mozilla to see if they find this in any way interesting. Did you get any feedback from any of the spec folk about this idea? |
Hi! Some quick though on having link from spec to MDN.
I don't think there are any hard blockers here, but just points that need further investigation. |
It seems from OP that the idea would be to add a single link. I'm not sure how that really works since there's usually not a 1:1 mapping like that I think, but I'm not super experienced with MDN. E.g., where would HTML link to? Would it be appropriate for URL to point to https://developer.mozilla.org/en-US/docs/Web/API/URL or should it point to a page that explains URLs more generally (couldn't find one)? (Via email @chrisdavidmills mentioned the idea of adding or maybe sharing examples. I think that definitely has some merit, but I'm not sure if that should be discussed here or separately.) |
So there has been generally quite positive reactions to this idea on the MDN team. And already some good debate here - thanks! To answer some of these points: First, to answer @JeremiePat 's comments:
@annevk also gave us some interesting examples to think about. I'd say HTML should just link to the main HTML reference page, but that it would make sense to improve the HTML reference itself, e.g. by including an index of reference pages documenting all the other stuff that HTML specifies besides the elements and DOM interfaces. We already link to the DOM interface for each element from the element pages, but it would be nice to make this more complete. Perhaps we could work together to identify gaps in the HTML docs, and create a plan. For other APIs, some already have obvious pages to link to, like https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API Where there isn't an obvious single landing page, this is probably a good indication that one should be created. URL is a good example of this. We probably ought to create a https://developer.mozilla.org/en-US/docs/Web/API/URL_API on which we explain URLs more generally, and collect together the features of this API. |
Maybe, but, e.g., the Fetch Standard is much more than |
(That's also true for URL by the way, the standard describes something much larger than just an API.) |
@annevk this comes back to the target audience problem, I guess. We can link to stuff like CORS documentation to make sure what's available on the page is complete as possible, but some of the stuff specified simply won't be relevant to our audience, so we won't document it. I guess if we did add these links to specs, we'd have to make it clear that they are web developer documentation. |
FWIW, I think that at the moment we should go on a case by case basis. The cases provide by @annevk are super interesting as they force us, collectively, to think more about what is a good spec and what is a good doc for our various audiences. If there is one thing that this project should emphasis it is the dialogue it opens to improve both spec and doc for the benefice of our readers. And for that reason, regardless of the points for discussion that have been raised here, I strongly support that initiative. |
At least in theory it should all be relevant, since web developers can encounter the standardized behavior, but what's not clear to me is whether you want to organize things in an equivalent manner and be bound by that (due to the cross-linking). Perhaps an alternative to consider is that you have MDN pages, such as the "Fetch Standard", which briefly explain what the standard is about and where its various features are documented on MDN (if at all). And the standards would link to those pages. |
Alternatively, you might have an MDN page explaining "Fetching resources on the Web" (which covers the things that Fetch conceptually covers, beyond the API). FWIW, I'm happy to add a link to Payment Request API, and link to https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API |
I'm still not sure that is really relevant to most of MDN's readership. With all the other stuff we have to do, it wouldn't be a high priority anyway. The closest we have on MDN is "Concepts" pages, for example https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Basic_concepts_behind_Web_Audio_API. I guess this could fit under that category. But really the main API landing page should cover the job of showing where everything is documented, etc.
Cool! |
CORS is not? X-Content-Type-Options is not? data: URLs are not? I'd argue there's a fair bit there that's totally relevant to web developers on a day-to-day basis. Perhaps some aspects such as port blocking and redirect handling are less so, but still seem good to have documented (or clearly deferred to the relevant specifications). |
OK, ok, point taken ;-) I guess we have a lot of this stuff mentioned/documented in other places, but it'd be great to have an article written that ties it all together in the context of fetches and explains how it all works together. I just need to find someone to write this now ;-) |
My understanding is that there are basically two (or more) user types:
Folks from 1 can transition to group 2 when the page points to further reading, or they see something interesting.
Can we ask one of our awesome communicators, like Lin Clark? Fetch (and it's related concepts, security model, etc.) is kinda fundamental. |
Or quite often people can go from 2 to 1, depending on what kind of learner you are.
Lin would be a great choice. Her lucid prose and cartoon treatment would work really well, applied to fetch. I'll give her a shout and see what she thinks. |
I think this is happening now, on at least some specs that I've seen. Can we close this one? |
yes - the infastructure is out there, it's "only" a matter of getting groups to adopt it |
When they exist, MDN articles are likely to provide a more approachable form to general developers than W3C specs; as such, it would be useful if W3C specs could link to related MDN articles.
This is probably mostly a matter to find a couple of groups/editors willing to experiment adding such a link in the head of the spec to get started.
Down the line, there are ongoing discussions about redesigning the set of links in W3C specs, and even broader discussion about redesigning W3C specs, which MDN should probably give input to in that context.
The text was updated successfully, but these errors were encountered: