doc prettyfiying