transform_readme

Function transform_readme 

Source
pub fn transform_readme(
    content: impl AsRef<str>,
    readme: impl AsRef<str>,
    crate_name: impl AsRef<str>,
    entry_point: impl AsRef<Path>,
    crlf: bool,
) -> Result<WithWarnings<String>, TransformError>
Expand description

Transform a readme and return its content with the documentation injected, if any.

Perform any required other transformations if asked by the user.