doc generation updates