This is the code and data behind learn.github.com. The page content lives in the pages/ directory and is compiled into the HTML output in p/. Normally, generated files like these wouldn't be checked into source control, but it's required for the GitHub Pages hosting.
If you edit a page, please remember to run 'rake' to recompile the site and create a single commit including both your source and generated files. This makes it as easy as possible for others to work with your changes.
Dependencies, Getting Started
Compiling the site requires maruku, which can be installed with Bundler:
Once you've done that, just run rake to compile the site:
To contribute to the learn.github site, you can fork the repository, push your changes into it and send a pull request.
If you want to run the site on GitHub pages for testing, you can push your changes into your fork of the repository and it will render at the usual convention of
which, in this case, is: