//! Documentation generators.
pubmodmarkdown;useanyhow::Result;usecrate::Doc;pubtraitGenerator{/// Generates docs as a string for each node. The resulting doc vector has the same node order
/// as the doc passed in.
////// Each vector element is (node name, doc)
fngenerate_string(&self, nodes: Doc)->Result<Vec<(String, String)>>;/// Adds the file extension of the document type this generator creates to the passed filename.
fnadd_file_extension(&self, filename:&str)-> String;}