dotnet / dotnet/docfx

[Feature Request] Consolidate overloads

Open
#10,101 1 comment 0 reactions 0 assignees View on GitHub
dotnet
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 11m
Merged PRs (30d)
10

Description

Given this source:

```csharp
namespace MyNamespace
{
public class MyClass
{
public void MyMethod() { }
public void MyMethod(float f) { }
public void MyMethod(float f, int i) { }
public void MyMethod(float v, int i) { }
public void MyMethod(float v, int i) { }
public void MyMethod(float v, int i) { }
public int MyMethod(float v, int i, string s) => 0;
}
}
```

`MyNamespace.MyClass.html` looks like this:

![image](https://github.com/dotnet/docfx/assets/220249/cd4b7693-d596-4de3-ace6-527407e2ab9d)

But I'd like to have an option to render it like this:

![consolidated](https://github.com/dotnet/docfx/assets/220249/810a9139-3857-4cd0-8477-3d1ba5cbd118)

Is this currently possible?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.