Ddoc and struct members
Bastiaan Veelo
Bastiaan at Veelo.net
Thu Dec 14 12:52:17 UTC 2017
On Thursday, 14 December 2017 at 03:17:10 UTC, rikki cattermole
wrote:
> On 14/12/2017 3:16 AM, n00nb wrote:
>> I don't understand if there is a way to generate documentation
>> for all the members without putting a '///' over every member
>
> There isn't.
It doesn’t need to take any vertical space though:
“If the documentation comment appears on the same line to the
right of a declaration, it applies to that.“ [1]
[1] https://dlang.org/spec/ddoc.html
More information about the Digitalmars-d-learn
mailing list