Don't build docs in test mode.