pub(super) fn write_shared( cx: &mut Context<'_>, krate: &Crate, search_index: String, options: &RenderOptions) -> Result<(), Error>