[Issue 2381] New: Minor mistakes in DDoc comments of std.path.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 30 18:21:23 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2381

           Summary: Minor mistakes in DDoc comments of std.path.
           Product: D
           Version: 1.035
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: ddoc
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: aziz.kerim at gmail.com


Please correct the following errors. It helps documentation generation and the
syntax-highlighter in Kwrite/Kate.

phobos/std/path.d @ line 343 and 344 (pseudo diff format :)
- *     getDirName(r"d:\path\foo.bat") => "d:\path"
- *     getDirName(getDirName(r"d:\path\foo.bat")) => "d:\"
+ *     getDirName(r"d:\path\foo.bat") => r"d:\path"
+ *     getDirName(getDirName(r"d:\path\foo.bat")) => r"d:\"

While you're at it, could you also create a GENERATED_BY macro for the "Page
generated by XYZ" message. That way other ddoc generation tools can override
this macro to customize this message without having to modify std.ddoc for
example. Thanks.


-- 



More information about the Digitalmars-d-bugs mailing list