src/doc: move HTML output related services from `doc_model` to `html_model`