website icon indicating copy to clipboard operation
website copied to clipboard

Documentation: Some entries in e.g. Namespaces are present multiple times

Open christianbumann opened this issue 6 years ago • 3 comments

As example, https://cake-contrib.github.io/Cake.Issues.Website/api/Cake.Issues/#Namespaces contains multiple definitions of Cake.Issues.PullRequests with targeting the same url.

christianbumann avatar Nov 06 '18 10:11 christianbumann

Interesting - that'll happen if Roslyn contains multiple different symbols with the same name. Usually it deconflicts them, so I wonder if these namespaces are actually coming from different assemblies (in which case they might actually be different symbols). I'll do some research...

daveaglick avatar Nov 06 '18 13:11 daveaglick

@daveaglick I assume this is because they're from different assemblies

There's a Cake.Issues.PullRequests, a Cake.Issues.PullRequests.Tfs and a Cake.Issues.PullRequests.AppVeyor assembly

pascalberger avatar Nov 06 '18 15:11 pascalberger

Good - that probably confirms my hunch. Roslyn views those namespaces as different symbols, and they kind of are. Wyam needs to collapse them into a single one though. Shouldn't be too hard - had to do something similar for closed vs. open generic type symbols.

daveaglick avatar Nov 06 '18 15:11 daveaglick