load_global_docs

Function load_global_docs 

Source
pub fn load_global_docs(
    file_name_opt: Option<&str>,
    doc_dict_opt: Option<&mut DocDict>,
) -> Result<()>
Expand description

Load the docs from a file path

  • If given a DocDict, it will load into that DocDict. Otherwise, it will load into the global doc dict, overwriting
    This is necessary because the global store cannot persist between compilation time and runtime.