add text version of doc