www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15700] New: Source code links are partially broken

https://issues.dlang.org/show_bug.cgi?id=15700

          Issue ID: 15700
           Summary: Source code links are partially broken
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: seb wilzba.ch

Hey, I am not sure whether this is a bug in the documentation generator or in
the website, but links to modules that contain are a directory and not a module
are broken.

E.g.

https://dlang.org/library/std/range/iota.html

links to
https://github.com/D-Programming-Language/phobos/blob/v2.070.0/std/range.d

whereas it should link to:

https://github.com/D-Programming-Language/phobos/tree/v2.070.0/std/range

(notice the missing '.d' as it is a directory)

However there we could also link directly to the file or even line.

https://github.com/D-Programming-Language/phobos/blob/tree/std/range/package.d#L4686

--
Feb 18 2016