DB1: api documentation, fix template line breaks