Create a new GitHub repository using ash-nazg. The spec's shortname in lowercase is usually a good choice.
Once the new repository is created, find it on GitHub and set up GitHub Pages to use the default branch,
master(Settings / Options / GitHub Pages).
The repository's contents will get automagically served from
Clone the repository locally.
git clone https://github.com/tobie/specs-on-github.git
Navigate to the repo.
Now we want to create the spec document itself. I use ReSpec, so I simply curl the content of the default template into an
index.htmlpage at the root of my repository.
curl https://www.w3.org/respec/examples/template.html > index.html
We can then add it to the repository.
git add index.html git commit -m "Add empty doc."
Lets now push these changes back to our GitHub account.
git push origin master
The first time you push changes it can take a little while for the code to be published to your subdomain, so be patient. But it'll be ready soon enough.
Set up your favorite labels
Bask in the glory of modern spec development.
(For help and tips about Git itself, refer to the dedicated page.)