Pull in gh-pages branch before updating docs.
Avoid committing gigantic dependency and source folders in docs branch.
Avoid conflicts when restoring source/dependneices files.
Added more files to gh-pages' gitignore, skip stash pop.
Fix some broken references in docs.