Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement to DDOC regarding parameter identifiers #17626

Open
dlangBugzillaToGithub opened this issue Nov 14, 2013 · 0 comments
Open

Enhancement to DDOC regarding parameter identifiers #17626

dlangBugzillaToGithub opened this issue Nov 14, 2013 · 0 comments

Comments

@dlangBugzillaToGithub
Copy link

Gary Willoughby reported this on 2013-11-14T10:23:12Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=11515

CC List

Description

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants