29 Dec

GitHub Pages for project docs, demos

Have you seen GitHub Pages? As of mid-December, GitHub now hosts complete web pages that are backed onto GitHub-hosted Git repositories. To start, just define an alternate ‘gh-pages’ branch for your repo, add your web content and push, and it will appear at yourname.github.com/repo-name. It’s perfect for small one-off project pages, or even complete blogs.

I’ve already migrated my project documentation pages over (see: Abbreviator, Labelize). I like the idea that these pages are accessible at the same location as their corresponding source code, with complete revision history, even if my blog is down or – dare I say it – long defunct.