diff trunk/src/docgen/document/plaintextgenerator.d @ 473:381044a3feac

Misc fixes & updates.
author Jari-Matti M?kel? <jmjm@iki.fi>
date Thu, 08 Nov 2007 17:44:25 +0200
parents e48a011e687a
children ec8dd7b8bf0c
line wrap: on
line diff
--- a/trunk/src/docgen/document/plaintextgenerator.d	Wed Oct 31 23:03:56 2007 +0200
+++ b/trunk/src/docgen/document/plaintextgenerator.d	Thu Nov 08 17:44:25 2007 +0200
@@ -91,14 +91,14 @@
 
       foreach(mod; modules) {
         auto FQN = mod.moduleFQN;
-        contents ~= FQN ~ " (see " ~ FQN ~ ".d)";
+        contents ~= FQN ~ " (see " ~ replace(FQN.dup, '.', '_') ~ ".d)";
       }
 
       docWriter.addList(contents, false);
     });
 
     foreach(mod; modules)
-      (new FilePath(outPath(mod.moduleFQN ~ ".d"))).copy(mod.filePath);
+      (new FilePath(outPath(replace(mod.moduleFQN.dup, '.', '_') ~ ".d"))).copy(mod.filePath);
   }
 
   /**