When building the docs, clear temp directory if it exists