This tool is ran offline to generate the sitemap files served at https://sourcegraph.com/sitemap.xml
To run it:
export SRC_ACCESS_TOKEN=...
./run.shOnce ran, it will output some stats as well as generate the sitemap.xml files to sitemap/. You should then upload them:
gsutil cp -r sitemap/ gs://sitemap-sourcegraph-com