Bug 11515 – Enhancement to DDOC regarding parameter identifiers

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-14T10:23:12Z
Last change time
2024-12-13T18:14:01Z
Assigned to
No Owner
Creator
Gary Willoughby
Moved to GitHub: dmd#17626 →

Comments

Comment #0 by spam — 2013-11-14T10:23:12Z
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.
Comment #1 by robert.schadek — 2024-12-13T18:14:01Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17626 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB