Use configured languages in generation validation

This commit is contained in:
2026-07-22 18:02:04 +02:00
parent 64e3847ef2
commit ba6a297d9b
8 changed files with 97 additions and 22 deletions

View File

@@ -227,7 +227,7 @@ fn build_site_render_artifacts_with_mode(
.par_iter()
.filter(|route| {
section.is_none_or(|section| {
classify_generated_path(&route.relative_path) == Some(section)
classify_generated_path(&route.relative_path, metadata) == Some(section)
}) && requested_paths
.is_none_or(|requested| requested.contains(&route.relative_path))
})