Fix documentation generation procedure

Because the remote repository may contain changes that are not
procedurally generated and are not present locally, ensure that the
local branch is synchronized before regenerating the documentation.
Merge pull request #63 from jugglinmike/docgen-fix

Fix documentation generation procedure