daipendency

Function generate_documentation

Source
pub fn generate_documentation(language: Language, path: &Path) -> Result<String>
Expand description

Generate API documentation for a library in the specified language.

§Arguments

  • language - The programming language of the library
  • path - Path to the library’s root directory

§Returns

Returns a Result containing the generated documentation as a string, or an error if something went wrong.