docs: def write_out_sitemap(self, opath):
          """
          Banana banana
          """
          if opath not in self.written_out_sitemaps:
              Extension.formatted_sitemap = self.formatter.format_navigation(
                  self.app.project)
              if Extension.formatted_sitemap:
                  escaped_sitemap = Extension.formatted_sitemap.replace(
                      '\\', '\\\\').replace('"', '\\"').replace('\n', '')
                  js_wrapper = 'sitemap_downloaded_cb("%s");' % escaped_sitemap
                  with open(opath, 'w') as _:
                      _.write(js_wrapper)
  
          self.written_out_sitemaps.add(opath)