[Issue 10399] ddoc: Add a way to inherit documentation from the parent class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 18 07:43:10 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10399



--- Comment #4 from Leandro Lucarella <leandro.lucarella at sociomantic.com> 2013-06-18 07:43:10 PDT ---
(In reply to comment #1)
> vibe.d has introduced ddox https://github.com/rejectedsoftware/ddox
> 
> It does much of what almost everyone has asked for, including this (I think). 
> I believe there is a pull request to make dlang.org able to use it:
> 
> https://github.com/D-Programming-Language/dlang.org/pull/267
> 
> See the result:
> 
> http://vibed.org/temp/d-programming-language.org/phobos/std/stream/FilterStream.html

I knew about ddox, but I think it just inherit the whole documentation, it
doesn't allow inheriting only parts. I think the approach I suggest here is
more flexible and I have the feeling it wouldn't be too hard to implement, what
you need to do is just define a new macro and make it expand to the particular
sections of parent class documentation.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list