pub fn export_html( manager: &SessionManager, target: &Path, system: Option<&SystemContext>, ) -> Result<()>