Is it possible to list API docs grouped by package (or assembly, or project)? #8018
Unanswered
craigfowler
asked this question in
Q&A
Replies: 1 comment 2 replies
-
This looks a lot like the issue I am having. I opened another discussion on here as I believed it could be different, but I did want to connect the two together. Would what you are trying come down to what I have described in #8204 ? If so, did you find any way to implement it in such away that it avoids the issue described? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When looking at API docs, the default behaviour for the table of contents is to list the various types, grouped by their namespace. For larger projects, such as frameworks which include more than one NuGet package, it would be helpful is "The package in which this type appears" were also available as a form of grouping.
For example, I'm writing a library which has an "Abstractions" package (no dependencies, just contains the API definition for consumption) and also a "Main" package (only needs to be referenced in startup projects, to add the framework to DI). I'd like to be able to show/organise the API docs showing which types are in the Abstractions package and which are in the Main package.
The perfect solution for my use-case organises the types by NuGet package. That might not be feasible though - and I'm OK with that. I'm conscious that DocFX would have to be able to understand all of the complexities of NuGet packaging to be 100% sure that it matched the right type with the right package. Acceptable alternatives which would be just as good for most scenarios are:
I have noticed that the Assembly Name is included in the generated API docs for a type, so that seems plausible. Does such a feature already exist (and I failed to find it)? Or should I turn this into a feature-request ticket?
Beta Was this translation helpful? Give feedback.
All reactions