Skip to main content

load_doc

Function load_doc 

Source
pub fn load_doc(path: &Path) -> Result<DocSource, String>
Expand description

Read one concept file into a DocSource for indexing: title/type/tags from frontmatter (title falling back to the file stem), and a searchable text of the description, resource, and body.