Split out documentation merger from external files