code: 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(f 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()
docs: Required Sphinx extension setup function.