Thread overview | |||||
---|---|---|---|---|---|
|
December 14, 2017 Ddoc and struct members | ||||
---|---|---|---|---|
| ||||
Hi all! How do I generate documentation for struct members using ddoc? I don't understand if there is a way to generate documentation for all the members without putting a '///' over every member |
December 14, 2017 Re: Ddoc and struct members | ||||
---|---|---|---|---|
| ||||
Posted in reply to n00nb | On 14/12/2017 3:16 AM, n00nb wrote:
> Hi all!
>
> How do I generate documentation for struct members using ddoc?
>
> 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.
|
December 14, 2017 Re: Ddoc and struct members | ||||
---|---|---|---|---|
| ||||
Posted in reply to rikki cattermole | 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 |
Copyright © 1999-2021 by the D Language Foundation