Build docs synchronously.

This solves problems when this plugin is combined with other plugins
that expect all files to already be in the public directory.  Unless we
build docs synchronously, we can't guarantee that they are all there
when we exit.