Skip to main content

update_document

Function update_document 

Source
pub fn update_document(
    document: &str,
    package: Option<&PackageMetadata>,
) -> String
Expand description

Add or refresh metadata-derived See Also content and the standard Releases section.

The generated package entry is marked with an HTML comment so subsequent updates can refresh it while preserving the rest of a project-owned section.