def check_providers_have_all_documentation_files(yaml_files: Dict[str, Dict]):
    expected_files = ["commits.rst", "index.rst", "installing-providers-from-sources.rst"]
    for package_info in yaml_files.values():
        package_name = package_info['package-name']
        provider_dir = os.path.join(DOCS_DIR, package_name)
        for file in expected_files:
            if not os.path.isfile(os.path.join(provider_dir, file)):
                errors.append(
                    f"The provider {package_name} misses `{file}` in documentation. "
                    f"Please add the file to {provider_dir}"
                )