parameters: (tasks, changed_tasks, deploy_gltf)
return_statement: return html
docstring: Generate index.html containing listings for changed and all files.
docstring_summary: Generate index.html containing listings for changed and all files.
docstring_tokens: Generate index . html containing listings for changed and all files .
function: def generate_html(tasks, changed_tasks, deploy_gltf):
    """Generate index.html containing listings for changed and all files."""
    head_addendum = HTML_MODEL_VIEWER_SCRIPT if deploy_gltf else ''
    html = HTML_PREFIX_FORMAT % head_addendum
    if changed_tasks:
      html += get_html_tags(changed_tasks, '%s Changed' % len(changed_tasks),
                            deploy_gltf)
    html += get_html_tags(tasks, 'All Files', deploy_gltf)
    html += HTML_SUFFIX
    return html
function_tokens: def generate_html ( tasks , changed_tasks , deploy_gltf ) : head_addendum = HTML_MODEL_VIEWER_SCRIPT if deploy_gltf else '' html = HTML_PREFIX_FORMAT % head_addendum if changed_tasks : html += get_html_tags ( changed_tasks , '%s Changed' % len ( changed_tasks ) , deploy_gltf ) html += get_html_tags ( tasks , 'All Files' , deploy_gltf ) html += HTML_SUFFIX return html