Skip to main content

documentation_model

Function documentation_model 

Source
pub fn documentation_model(text: &str) -> Option<DocModel>
Expand description

Build the documentation model for a single file’s text. Returns None when the file has no recognisable unit header, or is a test suite (suite units are not a documentation unit in Tier 1 — their case/stub members have no describe_* renderer, and a doc page for tests is out of scope).