code: function generateSitemap(batfishConfig: BatfishConfiguration): Promise<void> {
    const sitemapWriter = fs.createWriteStream(
      path.join(batfishConfig.outputDirectory, 'sitemap.xml')
    );
    return new Promise((resolve, reject) => {
      sitemapWriter.on('error', reject);
      sitemapWriter.on('finish', () => resolve());
  
      sitemapStatic(sitemapWriter, {
        findRoot: batfishConfig.outputDirectory,
        prefix: joinUrlParts(
          String(batfishConfig.siteOrigin),
          String(batfishConfig.siteBasePath),
          ''
        ),
        pretty: true
      });
    });
  }
docs: Build a sitemap cataloging the HTML files in the outputDirectory.