Can be similar to how we build the playground. rescript tools / docgen is already in the monorepo so this should be straightforward.