View mode: basic / threaded / horizontal-split · Log in · Help
October 16, 2005
Ddoc and templates
Hi!

# interface Foo(T) {
#   /**
#    * blabla...
#    */
#   T bar();
# }

Is there a reason why the html file generated by Ddoc (dmd -c -D foo.d) does not
contain the comment specified for method bar?

Without templates, everything works perfectly:

# interface IntFoo {
#   /**
#    * blabla...
#    */
#   int bar();
# }

Is there a way to get a similar result for the template version?

Best regards,
Markus
October 16, 2005
Re: Ddoc and templates
<markus_kranz@gmx.net> wrote in message
news:diu3rp$25ne$1@digitaldaemon.com...
> Is there a reason why the html file generated by Ddoc (dmd -c -D foo.d)
does not
> contain the comment specified for method bar?

Looks like a problem with Ddoc.
October 17, 2005
Re: Ddoc and templates
In article <diu80o$291d$2@digitaldaemon.com>, Walter Bright says...
>
><markus_kranz@gmx.net> wrote in message
>news:diu3rp$25ne$1@digitaldaemon.com...
>> Is there a reason why the html file generated by Ddoc (dmd -c -D foo.d)
>> does not contain the comment specified for method bar?
>
>Looks like a problem with Ddoc.

Thanks for your quick answer.
And thank you very much for the excellent job you've done with D.

Best regards,
Markus
Top | Discussion index | About this forum | D home