Implement mechanism to generate api docs only once per commit hash.