api docs: code indentation and formatting (q and r entries plus password-selector)