Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 45 lines (29 sloc) 1.406 kb

Learn.GitHub.com

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:

sudo gem install maruku

Once you've done that, just run rake to compile the site:

rake

Contributing

To contribute to the learn.github site, you can fork the repository, push your changes into it and send a pull request to 'schacon'.

If you want to run the site on GitHub pages for testing you can push your changes into the 'gh-pages' branch, rather than the 'master' branch of the remote repository.

$ git push origin master:gh-pages

That command will push your master branch to the 'gh-pages' branch of your fork. Then Pages will serve the site for you under :

http://schacon.github.com/learn.github.com

(Replace 'schacon' with your username)

Something went wrong with that request. Please try again.