This repository contains scripts that will generate a pristine copy of developers.whatwg.org. It uses a collection of arcane python scripts supplied by the W3C, and my own Ruby scripts that remove cruft.
To build your own copy, checkout this repostory, you'll need:
- Ruby (any version)
- rvm
- bundler
- nokogiri
- json
- peach
- sass
- Python (2.4+)
- lxml (
easy_install lxml
) - html5lib (
easy_install html5lib
)
- lxml (
- Mercurial
- SVN
- LibXML2
To acquire the Ruby gems just run bundler
I didn't say it was pretty! – But it does indeed work.
Run make clean
then make
to produce the required contents (final output is written to the public
directory)
The contents of public
are exactly what I have deployed to developers.whatwg.org.
If you're hoping to contribute to spec content, you'll need to talk to Hixie, as for styling and display of this content, I'm your man… and this is the repo.
Fork this project on Github, use detailed commit messages and ensure that you provide enough detail in your pull request that I can understand what you're doing and why.