Added the support for the docs directory pointing to the gh-pages branch.