[Issue 11639] New: Documentation from files included using an absolute path ignore -Dd flag.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 29 02:32:12 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11639
Summary: Documentation from files included using an absolute
path ignore -Dd flag.
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: spam at kalekold.net
--- Comment #0 from Gary Willoughby <spam at kalekold.net> 2013-11-29 02:32:05 PST ---
Created an attachment (id=1297)
Documentation example
I've attached example files to demonstrate the problem. Compile this example
using this command:
rdmd -D -Dd../docs -op -I/Users/gary/Desktop/test/include main.d
The -Dd flag specifies i want all documentation to be generated in the
specified directory. The -op flag specifies i want the paths of the imported
files to be preserved in the resulting the documentation.
If i specify the 'include' folder using a relative path like this:
'-I../include' then everything works as expected. If i use an absolute path as
shown in the above example the documentation is scattered, ignoring the '-Dd'
flag placing *.html files next to their respective *.d files in the source
directories. This is not idea.
The correct behaviour for the command above would be as if i had passed a
relative include path.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list