Built into a temporary directory first then rename it

Reduces documentation downtime during builds.