Updated docs generation script