pub fn plan_docs( pages: &[LocalPage], vault: &BTreeMap<String, String>, ) -> Vec<DocItem>
What to do with each of pages, given the vault’s slugs (slug → id; empty when the vault is not read, as on a dry run).
pages
slug → id