api docs: code indentation and formatting (p entries)