gen_docs now prints tab separated output