[master] add utility to generate-docs