DDoc: possible to show inherited class members?

Steven Schveighoffer schveiguy at yahoo.com
Fri Mar 8 18:08:15 PST 2013


On Fri, 08 Mar 2013 20:16:07 -0500, H. S. Teoh <hsteoh at quickfur.ath.cx>  
wrote:

> Is there a way for DDoc to generate documentation for inherited class
> members in the documentation for a class?
>
> 	class A {
> 		int x;
> 	}
> 	/// Derived class
> 	class B : A {
> 		/// Another value
> 		int y;
>
> 		// ?? how to also show A.x in B's documentation?
> 	}
>
>
> T
>

As far as I can tell, vibe.d's doc generation tool is doing this.

http://vibed.org/temp/d-programming-language.org/phobos/std/stream/EndianStream.html

-Steve


More information about the Digitalmars-d mailing list