-
Notifications
You must be signed in to change notification settings - Fork 868
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
[Announcement]📢Microsoft Learn xref service to be retired on March 8, 2024 #9659
Comments
Uploaded I though it's better to used pre-download Steps to use
In addition. When downloading And HTTP compression seems not supported when downloading |
* Improve parameter padding and add discord link. * Update xref service for docs. Reason: dotnet/docfx#9659 * Update docs readme to specify docfx version. * Update to latest DocFX. * update action & add manual trigger
But |
See annouuncement: dotnet/docfx#9659
@yufeih We have been testing migrating away from using
It would be nice if the built-in resolution mechanism was able to handle these so we could move away from |
It might be possible for BCL types by changing the xref markdown extension to create an in memory compilation and resolve using the Learn URL resolver used in metadata command |
@yufeih Is there a spec on what the URL service expects incoming and what it returns to docfx? It would be nice if someone wanted to stand up their own server with their own xref files. |
@yufeih How often is the xref map updated? Where do you source the file from? |
131mb? I'm seeing 323mb. This is a horrible solution over using the xref-service. |
I thought 131MB xrefmap is downloaded from this repository (Last updated about 6 month ago). |
Have you tried formatting them like this?
|
I'm curious - SHFB is using code to generate the links (https://github.com/EWSoftware/SHFB/blob/master/SHFB/Source/BuildAssembler/BuildComponents/MicrosoftLearnMemberIdUrlResolver.cs); why can't docfx do the same? Even if it does not handle 100% of cases, you would at least be able to process the complete xrefmap, stripping out all cases that are correctly handled by the code, and using the code for all cases not present in the filtered xrefmap. docfx could then host a 'xrefmap' branch in this repository containing only such a filtered xrefmap file, with a daily/weekly action that updates it. |
These xrefmaps also seem to be missing asp.net references (e.g. ComponentBase for Blazor) and other libraries hosted in microsoft learn (e.g. Powershell.Sdk). These also used to work with the old xrefservice. Are there xrefmaps for those other parts available somewhere? |
This should only impact referencing C# symbols in markdown files using the |
@mikernet Only APIs in the xrefmap files will be resolved. AFAIK the WinUI/SDK is published independently of the normal .NET API, which is probably the reason why it's not included in the xrefmap file. You would need the xrefmap flie for the WinUI/SDK (wherever that is), or someone needs to pack it into the the xrefmap in this repository. |
@Thraka Yes, exactly. But even community toolkit APIs have made it into that xref map file, so WinAppSDK APIs bloody well should have as well 😅 |
Oh sorry, I thought this was a different thread. What I said still holds true, but yeah not a docfx issue. I was hoping someone knew where said xref map was available, but after I posted the last comment I see that even in community toolkit docs the WinAppSDK references don't resolve, so it seems that they just haven't published xrefs. |
I opened this issue in |
Microsoft Learn will retire the Learn xref service on March 8, 2024.
Both of these 2 APIs for querying .NET xrefs published to Learn will be retired after the target date:
Actions Required: if you are using the above URLs to resolve xref reference to learn, change your
docfx.json
to use this xrefmap file:We understand that this may cause inconvenience to some of our users, and we apologize for any disruption this may cause.
The text was updated successfully, but these errors were encountered: