Add doc generation as part of build.