beautify doc