-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Generate API documentation for documented symbols in a package #9952
Comments
So currently on our documentation, we filter out some namespaces and other parts of our "public" API that really aren't meant for public consumption (i.e. internals that other contributors + plugin authors can access, but not something end-users should be using regularly). How would I express that same idea on NuGet.org? |
Also, just generally - would I be able to opt my packages out of this feature? |
I haven't seen this as a pattern, but I'm sure it is possible. What scenarios would you not want to have public API docs generated for people to look through when browsing your packages? |
The xmldoc tag |
@Aaronontheweb perhaps u could use ExperimentalAttribute. then any rendered docs could exclude APIs with |
@SimonCropp we have an 'InternalAttribute' tag we use |
@Aaronontheweb note that |
IMO |
It's important to consider API docs as just a first step. There are other important docs concepts like conceptual, guided walkthroughs, etc - and eventually (not necessarily for v1) it would be great to have a good base-level centralized hosting for those as well. For prior art I'd consider looking at the split between the docs on crates.io and docs.rs for Rust. Let's take the The crates.io page is just the README (but it's very lovingly rendered!), but it links to the generated documentation. The docs.rs page has the deeper docs. Takeaways from my point of view:
|
Related Problem
No response
The Elevator Pitch
NuGet.org should provide public API documentation for every NuGet package it ingests similar to other package ecosystems:
That's it. That's the pitch!
Future opportunities could be helping empower developers comment their public API surface further and providing API knowledge / docs to our AI overlords.
For more context, the Learn team at Microsoft currently has an API generation docfx/mdoc-type of solution that can take in a NuGet package and generate a API documentation page similar to https://learn.microsoft.com/en-us/dotnet/api/microsoft.csharp.csharpcodeprovider?view=net-8.0
Additional Context and Details
No response
The text was updated successfully, but these errors were encountered: