https://d.puremagic.com/issues/show_bug.cgi?id=11515
Summary: Enhancement to DDOC regarding parameter identifiers
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Gary Willoughby <[email protected]> 2013-11-14 10:23:12 PST
---
I'm using ddoc to generate a lot of documentation and i've
noticed in the new 2.064.2 version the type is now included with
the identifier in parameter lists. Can this be made optional or
able to be controlled by a macro?
The current parameter identifier macro is this:
DDOC_PARAM_ID = $(TD $0)
in which $0 was substituted for the parameter identifier, now it
substitutes $0 for type *and* identifier. It would be nice to have
something like this:
DDOC_PARAM_TYPE = <span class="identifier-type">$0</span>
DDOC_PARAM_ID = <span class="identifier">$0</span>
DDOC_PARAM = $(TD $(DDOC_PARAM_TYPE) $(DDOC_PARAM_ID))
So i can style them individually or completely omit the type as before
which is what i prefer to aid readability.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------