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
Create MDN macro for building overview page tables #1243
Comments
Overview tables are one of the reasons we wanted to have BCD in a machine-readable format. The question here are:
|
Note that such macro should likely be discussed in more details (especially its implementation) in the kumascript repo :-) Btw, I'm really excited to be see such macro being a thing we can do now! |
We could probably use the formatting used when
If it’s the root feature (eg. |
In terms of the presentation of the tables, this should be just like the "aggregate tables" that we have in the WebExtension docs, e.g. https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/tabs#Browser_compatibility. There are UI issue with these tables, for sure, but the solutions should be the same I think. It would be interesting if the macro could make use of the
...or something, and have it look up the contents from https://github.com/mdn/data/blob/master/css/properties.json. |
Thanks for your issue! This got worked on here mdn/kumascript#650 I'll close this here for now, this repo is just about the data, hopefully https://github.com/mdn/browser-compat-toolkit will deal with all displaying soon. For now issues like this are discussed / worked on in https://github.com/mdn/kumascript still. |
This macro would work by supplying it references to the APIs that belong to that overview page, eg.:
Which would render as:
Body
FetchEvent
Headers
Request
Response
See also:
The text was updated successfully, but these errors were encountered: