dotnet / docfx

Static site generator for .NET API documentation.
https://dotnet.github.io/docfx/
MIT License
4.04k stars 858 forks source link

Inherited members are isolated from members of a derived class #5674

Open wistnki opened 4 years ago

wistnki commented 4 years ago

Operation System: Windows

DocFX Version Used: 2.51.0.0

Template used: default and little customized

Steps to Reproduce:

just follow Quickstart to generate API doc

Expected Behavior:

Members of a base class are written the same as members of a derived class, not isolated as inherited Members. For example, although System.Windows.Controls.Button.Height property is Inherited from FrameworkElement class, it is placed in Properties of the Button class page on MSDN.

Actual Behavior:

Members of a base class are isolated from members of a derived class and written in 'Inherited Members'.


How to get this behavior? the MSDN do this, so that It looks some ways are.

mikernet commented 5 months ago

+1, would help clean this up on every single page:

image

And also allows the summaries for inherited members to be visible.

Note that inherited members on MSDN only shows instance members that are inherited.