def add_render_config(config_data, render_options):
    """add render related config to original template data

    :param config_data: original template data
    :type config_data: dict
    :param render_options: render options to tune up rendering
    :type render_options: RenderOptions
    """
    render_config = {}
    if render_options.generator_notice is not None:
        render_config['generator_notice'] = render_options.generator_notice
    if render_options.licenses is not None:
        render_config['licenses'] = render_options.licenses
    if 'render' not in config_data:
        config_data['render'] = render_config
    else:
        config_data['render'].update(render_config)
