Comment #0 by dlang-bugzilla — 2015-06-09T00:21:37Z
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).
Comment #1 by dlang-bugzilla — 2015-06-09T00:41:48Z
Never mind MODULENAME, I missed TITLE.
Comment #2 by robert.schadek — 2024-12-13T18:43:15Z