We do this elsewhere: https://github.com/fulcrumgenomics/fetch-through-merge-base/blob/main/src/misc/generate-docs.ts