-
MDN doesn't use the formal syntax parts of mdn/data any more. Instead, we use data directly extracted from the specs via webref/css. However, maintainers still have to add something there, and the linter checks for it: https://github.com/mdn/data/blob/6675982d35162544cc30a6c7a478944d529bd587/css/properties.schema.json#L302-L316. Can we remove:
? As far as I know this would have no impact on MDN. It might have an impact on other users of mdn/data. For almost 2 years we have had a note at the top of the README, informing users of our plans to deprecate the repo and asking for feedback: mdn/data@23c544e. The obvious alternative for dependents is to use webref/css as well, and it would be good to know what the obstacles to that would be. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
I think that from mdn/content and MDN Web Docs perspective, we can remove it (and we should). I think that we may have other consumers here. I guess the README would not be enough. Maybe we should make a last "announcement", something like: "On July 1st, a new major version of mdn/data will be out, without the syntax…". Also, we should likely announce the end of syntax in mdn/data to every contributor who updates them. Among them are likely the users of mdn/data (that likely upstream errors reported to them). But, yes, we should remove syntax from mdn/data, it is painful to maintain and useless. |
Beta Was this translation helpful? Give feedback.
-
csstree/csstree#244 indicates that https://github.com/stylelint/stylelint depends on mdn/data syntaxes, via css-tree. |
Beta Was this translation helpful? Give feedback.
-
This discussion was discussed synchronously during the #writing-docs meeting held on April 16, 2024. Here are the (slightly edited for clarity) minutes from that portion of the meeting: Question: Can we remove syntaxes from mdn/data?
ANSWER: not yet. SOLUTION: 2 options, either of which would be a project:
|
Beta Was this translation helpful? Give feedback.
-
Hi all! The conclusion of all these discussions is:
So we have to shelve the idea of removing syntaxes from mdn/data, as much as it breaks our hearts. We will be sure to revisit this periodically, and maybe there will be opportunities again to fix this problem in the future. Thank you all for the insight. |
Beta Was this translation helpful? Give feedback.
-
The outcome of these discussions notwithstanding, was that csstree issue (suggested by @teoli2003 above) ever opened? I don't see one, specifically about this. I see several (including csstree/csstree#250, csstree/csstree#261), all closed and all predating this discussion, regarding the possibility of migrating to webref. (Their answer is, diplomatically, "That won't work for us, we need to stick with mdn/data.") But nothing about the desire to remove the stuff they depend on from mdn/data. If that desire is still nominally there, and csstree is the primary/only holdup, would it be out of line to propose to them that they adopt the syntax data from mdn/data? (Say, into a new csstree/syntax.) Then it could be maintained there, in a form that works for them, and dropped from mdn/data. |
Beta Was this translation helpful? Give feedback.
Hi all!
The conclusion of all these discussions is:
So we have to shelve the idea of removing syntaxes from mdn/data, as much as it breaks our hearts. We will be sure to revisit this periodically, and maybe there will be opportunities again to fix this problem in the future.
Thank you all for the insight.