Shorten doc text