src/doc: clean signature HTML output with `html_signature` and `html_short_signature`