Required Sphinx extension setup function.

def setup(app):
    ''' Required Sphinx extension setup function. '''
    app.connect('html-page-context', html_page_context)
    app.connect('build-finished',    build_finished)
    app.sitemap_links = set()