-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Documentation on using linking macros in contributing docs #31186
Comments
Most of MDN's meta-documentation is on MDN itself (I think it would be better if it were somewhere else, but it isn't) and the nearest thing to what you want is https://developer.mozilla.org/en-US/docs/MDN/Writing_guidelines/Page_structures/Macros/Commonly_used_macros#linking. The detailed docs for That said it would probably be a good idea to point people at the meta-docs from CONTRIBUTING. It's really hard to find stuff in the metadocs though IMO. |
We should DEFINITELY add more docs about |
Looking at it, I'm not sure if action is necessary. The CONTRIBUTING.md just talks about the contribution process itself, so you should first read the links at the top:
"How to write in Markdown" mentions "KumaScript macros" at the bottom, and it should hopefully be obvious that I've thought about hosting docs for macros on MDN, but I don't think that's desirable as the macros' syntax is a moving target and documentation in comments is much easier to track. |
Especially at the moment, there's a lot going on with refactoring and rewrites. It might be a good idea to revisit this in a few months to audit how easy it is for authors to find information about using macros once the dust has settled. |
MDN URL
https://github.com/mdn/content/blob/main/CONTRIBUTING.md
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
I'm trying to learn about
jsxref
's capabilities but it's used in too many places to easily find the source of... I'm not sure what it is—isjsxref
a macro?This file is where I expected to find this information because of the other sections that already exist within it.
What did you expect to see?
I expected to find
jsxref
mentioned somewhere in CONTRIBUTING.md or a "Further reading" section that might lead me to learning more aboutjsxref
or linking to documents in general.Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
This is an XY Problem. What I really want to know is if
jsxref
can link to a document's subsection, but I've been unable to find an answer to my question because I've been unable to findjsxref
's documentation and/or definition.The text was updated successfully, but these errors were encountered: