hybrid-pedagogy/openmusictheory — pull request #54 by eah13 (2014-08-23 19:59:13+00:00)
Title: Make url and baseurl relative

Project's looking great!

One thing I discovered in using Github Pages for my course is that you can get github to automatically deploy a site for anyone who forks the project. I've done that for this project in this PR.

If `url` and `baseurl` are set to the repo's name (in this case `/openmusictheory`) and the code is in a branch called `gh-pages` (as it already was) then all forks of the main repo will get their own Github pages version of the site deployed at {{ username}}.github.io/openmusictheory. See mine here: http://elliotthauser.com/openmusictheory/

(it's shown at elliotthauser.com because I use forwarding for my main site, eah13.github.io)

This should help with your goal of easy customization for those not so familiar with web dev. Simple customizations can be made right in the browser, using Github's editor, and the new author can just just Github Pages as their class site.

Hope that helps! I can write a n00b-friendly guide to forking and customizing the book on Github if that's helpful too. Varibles like the name of the class or professor could be easily handled via config.yml, letting the book become a class website of sorts.