Updated doc generation script

Signed-off-by: Robin van Baalen <robin@neverwoods.com>