Simplified signatures in generated documentation
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Wed Aug 20 23:39:47 PDT 2014
On 20/08/14 18:34, H. S. Teoh via Digitalmars-d wrote:
> Sorry, I didn't make myself clear. What I meant was that ddoc will
> generate the above structure, so that user ddoc templates can customize
> the appearance of each element in the declaration. You don't actually
> write any of these macros (except where you wish to customize the
> appearance of that part of the declaration); you write the function
> declaration as usual, and ddoc will internally expand them using the
> above structure. If one or more elements aren't defined, they default
> to just passing the text through verbatim. So essentially, it's about
> being able to target a specific part of the declaration to customize its
> formatting.
Ok, I see. Sounds like a good idea.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list