def METHOD_NAME(args, config, build_file):
    template_name = 'doc/doc_reconfigure-jobs_job.xml.em'
    repository_args, script_generating_key_files = \
        get_repositories_and_script_generating_key_files(config=config)
    job_data = {
        'script_generating_key_files': script_generating_key_files,
        'config_url': args.config_url,
        'rosdistro_name': args.rosdistro_name,
        'doc_build_name': args.doc_build_name,
        'repository_args': repository_args,
        'ros_buildfarm_repository': get_repository(),
        'credentials_src': os.path.join(
            '~', os.path.dirname(get_relative_credential_path())),
        'credentials_dst': os.path.join(
            '/home/buildfarm',
            os.path.dirname(get_relative_credential_path())),
        'recipients': build_file.notify_emails,
    }
    job_config = expand_template(template_name, job_data)
    return job_config