[Issue 14668] New: Additional Macro Definitions Generated by Ddoc
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jun 8 17:21:37 PDT 2015
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 at puremagic.com
Reporter: thecybershadow at 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).
--
More information about the Digitalmars-d-bugs
mailing list