You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Not sure why, but the markdown metadata output format doesn't seem to include a Derived section on pages that happen to be generic, even though they would be listed in the yaml counterpart.
To Reproduce
Steps to reproduce the behavior:
Create a dummy project with a generic base class and one or more derived classes, e.g.:
Actual behavior DocFXTest.GenericBaseClass-1.md, does not have a Derived section, i.e.:
# <a id="DocFxTest_GenericBaseClass_1"></a> Class GenericBaseClass<T\>
Namespace: [DocFxTest](DocFxTest.md)
Assembly: DocFxTest.dll
```csharp
public class GenericBaseClass<T>
```
#### Type Parameters
`T`
#### Inheritance
[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[GenericBaseClass<T\>](DocFxTest.GenericBaseClass\-1.md)
#### Inherited Members
[object.Equals\(object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)),
[object.Equals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)),
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone\(\)](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone),
[object.ReferenceEquals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring)
Context (please complete the following information):
Docfx version: 2.77.0
Template: markdown (api output format)
Additional context
The trigger condition appears to be the base class that is generic, and only that page is affected. Non-generic base classes will include a #### Derived section.
The text was updated successfully, but these errors were encountered:
Describe the bug
Not sure why, but the markdown metadata output format doesn't seem to include a Derived section on pages that happen to be generic, even though they would be listed in the yaml counterpart.
To Reproduce
Steps to reproduce the behavior:
derivedClasses
section is present inDocFXTest.GenericBaseClass-1.yml:
Expected behavior
One of the resulting files,
DocFXTest.GenericBaseClass-1.md
, should have aDerived
section, i.e.:Actual behavior
DocFXTest.GenericBaseClass-1.md
, does not have aDerived
section, i.e.:Context (please complete the following information):
Additional context
The trigger condition appears to be the base class that is generic, and only that page is affected. Non-generic base classes will include a
#### Derived
section.The text was updated successfully, but these errors were encountered: