Crate docstring

Source
Expand description

Utilities for manipulating and parsing documentation strings.

Functionsยง

normalize_doc_string
Removes leading indentation and trailing whitespace from a string, returning None if the string is empty.
normalize_indentation
Removes leading indentation and trailing whitespace from a string.
remove_asterisks_if_asterisk_docs
Remove asterisks if the doc string is formatted with asterisks.