def add_note(html):
    """
    Adds a warning to the top of the html page

    :param html: the raw html
    :return: html with warning
    """
    warning = '<p>~!This is a generated file. Any modifications to it will be lost upon next update. Please use the documentation files in the project repository. !~</p>'
    html = warning + html
    return html