Ddoc and manifest constants

Jonathan M Davis jmdavisProg at gmx.com
Tue May 29 15:35:36 PDT 2012


On Tuesday, May 29, 2012 21:42:29 Alex Rønne Petersen wrote:
> Hi,
> 
> Is it by design that Ddoc does not emit documentation for manifest
> constants, or is it a bug? I'd really like to have documentation for
> some public manifest constants in my code, and I can't really think of a
> reason why Ddoc shouldn't handle them.

I'd definitely argue that any public declaration outside of a function or 
unittest block which has a ddoc comment on it and is compiled in (e.g. not 
part of another version block or static if) should appear in the generated 
ddoc. If there's one that doesn't, it's a bug.

- Jonathan M Davis


More information about the Digitalmars-d mailing list