Fixed "edit and contribute" links, and added rake task for building docs