api docs: code indentation and formatting (event.* entries)