download.servo.org
Style and layout based on servo.org and used under MPL, bootstrap.css (c) Twitter and used under MIT license.
Homu is set up to land changes on this repository, and all successful Travis builds of the master branch automatically deploy the updated site to the servo-builds bucket on s3.
Assistance in improving the download page's appearance, accessibility, and instructions is greatly appreciated!
The Servo Contributing Guide applies to this repo.
Subresource Integrity Hash Updating
If you update any of the static resources (e.g. a css file), you need to regenerate the SRI hash for that resource:
$ # Let's say you modified css/style.css
$ cat css/style.css | openssl dgst -sha512 -binary | openssl base64 -A
Copy the output, prepend it with "sha512-", and replace the corresponding value for the integrity attribute on the HTML tag including that resource.
You can check if this worked by trying to load the page in a browser and looking for console messages. (Note that Servo doesn't support this quite yet!)
Local testing
We use the W3C's HTML5 validator,
via the
html5validator
Python package
.
To run this locally, run:
$ virtualenv2 venv
$ source venv/bin/activate
(venv2) $ pip install -r dev-requirements.txt
(venv2) $ html5validator