Extract the doc-generation into its own method
Extract the doc-generation into its own method

This is as preparation for parallelising it.

kostyll/docurium,libgit2/docurium,libgit2/docurium,kostyll/docurium,libgit2/docurium,kostyll/docurium