Re:Mozilla and Open Web Docs Working Together on MDN
by jraph on Friday March 18, 2022 @08:30AM
(#30721317)
Actually one could use the latest on the edge modern web standards for this, but leverage graceful degradation so you still have documents that are both readable and comfortable in a browser supporting less things.
If there is one set of standards that would allow that, it's the Web!
This kind of documents should be perfectly readable in plain HTML without CSS and Javascript;
Maybe MDN itself, directly, could be improved?
Re:Mozilla and Open Web Docs Working Together on MDN
by idoubtit on Friday March 18, 2022 @08:43AM
(#30721438)
Instead of creating a new tool to convert MDN's content into HTML, it would probably be easier to modify the official tool, Yari, in order to produce web page with more compatible (and faster) CSS & JS.
https://github.com/mdn/yari
But I don't think it would be useful unless MDN merges in the changes. My daily web browser struggles with the new MDN rendering unless JS is disabled. So I've lost a few features since the "design change", notably I cannot run the examples. Would I use a cloned site that's faster and where CSS&JS are more compatible? I would loose the external search I'm used to (DuckDuckGo !mdn), so using the clone would require a few changes on my side...
The content of MDN is open at https://github.com/mdn/content, currently a mix of HTML and Markdown but getting transitioned to Markdown. So a different effort could perhaps be made here for a "low-tech" (like CSS2 at most and Javascript-free?) static page generation to live in parallell with the modern pages. It's all neatly organized in a hierarchical structure.