The HTML specification is built using Bikeshed - instructions for installing it are below. Before you create a Pull Request (PR) that is more complex than a simple typo or formatting fix, please update and run bikeshed locally to check that the spec builds correctly.
- Open a command prompt from the HTML repo folder.
- Run: bikeshed update
- Run: bikeshed spec
Bikeshed produces a single page version of the specification. There is also a multi-page script that breaks down the single page version into multiple pages. This relies on node.js - installation instructions are below.
- Run: node multipage.js [path of the spec]
Full installation information is available in the Bikeshed documentation.
Tested on Windows 10.
-
Install Python 2.7.x (32bit version) in the default location.
Note:
Make sure you select the option to install thesystem path environment variable
(it isn't selected by default). -
In an elevated command prompt, run: setx /m PATH "%PATH%;C:\Python27;C:\Python27\Scripts"
Note:
to open an elevated command prompt:- Type
Command prompt
into the Windows search - Right click/open the context menu on the search box, and choose
Run as administrator
- Select
Yes
if a User Account Control (UAC) dialog opens
- Type
-
Clone Bikeshed:
git clone https://github.com/tabatkins/bikeshed.git
or use a desktop client -
Run: $ python -m pip install --editable /path/to/cloned/bikeshed
Note:
if the path to the Bikeshed folder contains spaces, enclose the path in quotation marks.
- Install Node.JS
- Clone the multi-page repo
- Open a command prompt from the multi-page repo folder and run: npm install
When a change is made to the master branch of the HTML repo, Travis-CI rebuilds the specification and replaces the files in the gh-pages
branch.
You should not edit or commit changes directly on the gh-pages
branch because any changes will be lost when the specification is next rebuilt.