Skip to main content

speaker_choices

Function speaker_choices 

Source
pub fn speaker_choices(slug: &str) -> Vec<(String, String)>
Expand description

configs/<slug>/speakers.json (legacy fallback: the workspace root), as dropdown-ready (label, key) pairs in the file’s own order. Empty when no speakers file exists yet for this show — callers then accept any speaker key rather than blocking the editor on a file that hasn’t been authored.