ddoc generation script