src/doc: rename `tpl_declaration` in `html_declaration` and uniformize output