Skip to content
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 Request] FuGet as cross-reference service #130

Open
sakno opened this issue Feb 2, 2021 · 5 comments
Open

[Feature Request] FuGet as cross-reference service #130

sakno opened this issue Feb 2, 2021 · 5 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@sakno
Copy link

sakno commented Feb 2, 2021

It would be great to make cross-reference links to API doc generated by FuGet for arbitrary package. Microsoft Docs already provides cross-reference link resolution via https://xref.docs.microsoft.com/query?uid={uid}

@praeclarum
Copy link
Owner

That is a super cool service but can you tell me what exactly you would like to see in NuGet?

Do you want a query type API that returns JSON as in the MS service, or do you want a UI?

@praeclarum praeclarum added enhancement New feature or request question Further information is requested labels Feb 28, 2021
@sakno
Copy link
Author

sakno commented Feb 28, 2021

Just JSON. This allows to use FuGet XREF service for generating references to types in documentation built with DocFX. At the moment, I'm using hand-written tool that generates cross-references for DocFX as static resources. It's workaround, but in future documentation build pipeline can be simplified.

@sakno
Copy link
Author

sakno commented Feb 28, 2021

Here is real-world example where I'm using cross-references pointing to FuGet Gallery in my project: https://sakno.github.io/dotNext/features/core/index.html

@praeclarum
Copy link
Owner

Great, got it, thanks. Yes, I think it's very doable. The only trouble is don't index APIs which would be needed to make this work.

The good news I want to start indexing them so can add this feature when that's done.

@sakno
Copy link
Author

sakno commented Feb 28, 2021

One more thing. XRef support will be a killer feature because DocFX generator of API documentation currently doesn't support C# 9 and some other features:

  • No support of API doc for multiple targets (FuGet can do that right now)
  • No multiple versions of the same API (FuGet can do that right now)
  • No function pointers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants