[][src]Function cargo_sync_readme::transform_readme

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>

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

Perform any required other transformations if asked by the user.