From 552b7c26e9f151817328f0bb6461e96f6829c9f3 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 20 Mar 2026 08:53:40 +0800 Subject: Add windows path support in helpdoc_system_macros --- macros/helpdoc_system_macros/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'macros/helpdoc_system_macros/src') diff --git a/macros/helpdoc_system_macros/src/lib.rs b/macros/helpdoc_system_macros/src/lib.rs index a9008bf..ce85f87 100644 --- a/macros/helpdoc_system_macros/src/lib.rs +++ b/macros/helpdoc_system_macros/src/lib.rs @@ -67,6 +67,10 @@ fn scan_directory(dir: &Path, entries: &mut Vec<(String, String)>, base_dir: &Pa doc_name.to_string() }; + let full_doc_name = just_fmt::fmt_path::fmt_path(full_doc_name) + .unwrap() + .to_string_lossy() + .to_string(); entries.push((full_doc_name, lang.to_string())); } } -- cgit