pub fn get_partitions_for_file(
    ctx: &GenerateCtx<'_>,
    doc_nodes: &[DocNode],
    short_path: &str
) -> IndexMap<String, Vec<DocNodeWithContext>>