improve documentation formatting