pub fn get_beta_versions(manifest: &DocsManifest) -> HashMap<String, VersionManifest> {
    let mut versions = HashMap::new();
    for (name, details) in manifest.iter() {
        if details.state == VersionState::Beta {
            versions.insert(name.clone(), details.clone());
        }
    }

    versions
}
Gets the beta versions of the docs from the given manifest. This returns a
`HashMap` of their names to their manifests.
website/src/templates/docs/generation.rs