We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2a6ebc commit bbe8f80Copy full SHA for bbe8f80
crates/rari-doc/src/search_index.rs
@@ -19,7 +19,9 @@ pub struct SearchItem<'a> {
19
}
20
21
pub fn build_search_index(docs: &[Page]) -> Result<(), DocError> {
22
- let in_file = content_root().join("en-US").join("popularities.json");
+ let in_file = content_root()
23
+ .join(Locale::EnUs.as_folder_str())
24
+ .join("popularities.json");
25
let json_str = read_to_string(in_file)?;
26
let popularities: Popularities = serde_json::from_str(&json_str)?;
27
0 commit comments