Open Web Docs worklog, May 2021 edition
Published on June 11, 2021 by Florian Scholz
Welcome to the fifth edition of the OWD worklog! This series reports on our workstream activities and contributions we’re making to open web documentation projects, like MDN Web Docs.
MDN Markdown conversion
At the moment we write MDN pages directly in HTML. This is hard to write and hard to review. It's easy to make mistakes like missing closing tags or getting the nesting wrong, and it's hard for reviewers to spot these kinds of mistakes. Also, we have to escape HTML tags in any example code we write, which is difficult and error-prone. In practice, this makes writers concentrate so much on the markup that it's hard to concentrate on the writing itself.
This month we've continued work on this project:
- We’ve resolved all the major issues about how we will represent MDN content in Markdown, and written up a specification for it: https://developer.mozilla.org/en-US/docs/MDN/Contribute/Markdown_in_MDN.
- Gregor Weber has been implementing this specification, as well as a converter to get us from our current HTML into our target Markdown format, and updating the Yari tooling so it works with Markdown source.
- Looking to the future, we’re cleaning up other areas of the content to make them Markdown-friendly: we’ve removed almost all inline styles from the CSS pages and have started removing them from the Web API pages: https://github.com/mdn/content/issues/5438.
In May, we continued working on MDN’s Specification sections.
- As mentioned in the April worklog, Mike Smith and Florian finished adding relevant specifications to BCD features.
- Florian also wrote a PR that will check spec_urls in BCD against the w3c/browser-specs repository to make sure we only use relevant specifications.
- The other MDN doc sets now have the `browser-compat` front-matter thanks to the pull requests of Jean-Yves Perrier. In June, we can build upon this work and roll out the BCD-powered specification tables more broadly to finish up this project.
Browser compat data
We’re continuing to help with improving the browser-compat-data project.
- After previous discussions within the BCD community and browser vendors, Florian made a proposal to add preview browsers to the project. This will help with recording support data for browsers like Firefox Nightly, Chrome Canary, and Safari Technical Preview. Caniuse is already well equipped to show this information and in June Florian will work on the MDN Yari renderer to allow this to work with MDN compat tables, too. If you are a BCD consumer, you might want to check out the enhanced data structure which we plan to make available in a BCD 4.0.0 release.
In May we reviewed 300 pull requests to GitHub repositories in the https://github.com/mdn organization.
In June, we’re planning to:
- Finish interviewing applicants for our Tech Writer / Advocate position to welcome a new team member really soon!
- Get together for quarterly planning meetings, so we can determine documentation projects we’d like to work on in Q3.
- Finish our current projects as much as possible.
And this concludes our May update! We will be back updating you about our June activities. Please follow the @OpenWebDocs Twitter channel for updates in the meantime.
A special thank you to Chris Mills
Chris Mills announced his last day as Mozilla’s MDN Content Lead after taking good care of it for just under 8 years. We would like to use this opportunity to say thank you! Chris really made a difference to MDN and impacted millions of web developers over the years. The MDN 15th anniversary blog post highlights some of the bright projects Chris' leadership made possible within the MDN team.
All the best for your new endeavours from Jory, Will, Florian and the rest of the Open Web Docs crew!