fn synthesise_generic_doc_block(
kind: &str,
generic: &str,
classes: &[String],
export: bool,
dispatch: &str,
no_dots: bool,
) -> StringExpand description
Synthesise a standalone roxygen doc block for a generic.
Produces a block with:
@title/@descriptiondescribing the generic@paramlines for each dispatch argument (plus...unless no_dots)@name <generic>— yields the bare\alias{<generic>}that?genericresolves@exportor@rawNamespace export(<generic>)as appropriateNULLanchor
The method blocks emitted by the class generators keep their qualified
@name Class-generic so there is no duplicate-alias regression.