digitalmars.D.bugs - [Issue 14668] New: Additional Macro Definitions Generated by Ddoc
- via Digitalmars-d-bugs (24/24) Jun 08 2015 https://issues.dlang.org/show_bug.cgi?id=14668
https://issues.dlang.org/show_bug.cgi?id=14668 Issue ID: 14668 Summary: Additional Macro Definitions Generated by Ddoc Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ddoc Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: thecybershadow gmail.com It would be nice to be able to generate a link to the current page in DDoc, for example to be able to pass the current page URL to a Bugzilla bug report form template. The "Macro Definitions Generated by Ddoc" section on http://dlang.org/ddoc.html lists DOCFILENAME and SRCFILENAME. It would be nice to have, in addition to these: - MODULENAME: the name of the currently compiled module (e.g. std.algorithm.iteration). Can be undefined for Ddoc files. - DOCBASENAME: the base name of the output file (file name without directory). --
Jun 08 2015