updated example documentation generator