Build docs in a separate shell.