-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add a way to show links to MDN, and show them for a number of specs. #396
Conversation
Oops, I realize I should also make the |
…ozilla#396, part 2) This fixes part of mozilla#375. It does the following: * adds an `mdnUrl` field to `activities.json`, using @adamroach's list in mozilla#375 (comment) which can either be a string or an array of strings (like `mozBugUrl`) * adds a way to show the MDN icon in the "More Info" column (which I commit as an asset rather than picking a glyphicon, and use via CSS mask). * adds code to validate the new field in activities.py (matching `mozBugUrl`) * adds code to add the new field for the `add` verb in `activities.py`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fewer links for WebMIDI would be ideal. I guess that it isn't really worth creating Web_MIDI_API just to resolve the broken link on all of those pages.
(I didn't check all of the links. I only skimmed them, I'm trusting that you found reasonable destinations.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed with @martinthomson and LGTM. Per suggestion that https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API should exist, can we request that explicitly of MDN? And if that request is a GH issue perhaps that could be linked here too.
…ozilla#396, part 2) This fixes part of mozilla#375. It does the following: * adds an `mdnUrl` field to `activities.json`, using @adamroach's list in mozilla#375 (comment) which can either be a string or an array of strings (like `mozBugUrl`) * adds a way to show the MDN icon in the "More Info" column (which I commit as an asset rather than picking a glyphicon, and use via CSS mask). * adds code to validate the new field in activities.py (matching `mozBugUrl`) * adds code to add the new field for the `add` verb in `activities.py` Co-authored-by: Martin Thomson <[email protected]>
Add a way to show links to MDN, and show them for a number of specs.
This fixes part of #375. It does the following:
adds an
mdnUrl
field toactivities.json
, using @adamroach's list inconsider replacing caniuse links with MDN links #375 (comment)
which can either be a string or an array of strings (like
mozBugUrl
)adds a way to show the MDN icon in the "More Info" column (which I
commit as an asset rather than picking a glyphicon, and use via CSS
mask).
adds code to validate the new field in activities.py (matching
mozBugUrl
)adds code to add the new field for the
add
verb inactivities.py
There's also an initial commit to fix something I broke in #385, so this should be rebased rather than squashed.