Add doc generation to build.
Create tar doc for use in gh-pages.