Skip to main content

curation_shape

Function curation_shape 

Source
pub fn curation_shape(c: &Curation, n: usize) -> Result<(), String>
Expand description

Whether c lays out n fields: at least one page, not every field excluded (a raw dump or an empty editor is not curation), every index below n and in exactly one section or the excluded list, titles and sections non-empty.