dotnet / docfx

Static site generator for .NET API documentation.
https://dotnet.github.io/docfx/
MIT License
3.94k stars 840 forks source link

feat(xml): better error when link not found #9957

Closed Patrick8639 closed 1 month ago

Patrick8639 commented 1 month ago

Hi!

When a link is not correct in an XML comment, the error message doesn't show where the error is. This change adds more information in this case.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 83.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 78.91%. Comparing base (fe673ec) to head (8535545). Report is 179 commits behind head on main.

Files Patch % Lines
src/Docfx.Dotnet/Parsers/XmlComment.cs 83.33% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #9957 +/- ## ========================================== + Coverage 74.31% 78.91% +4.59% ========================================== Files 536 540 +4 Lines 23189 23381 +192 Branches 4056 4055 -1 ========================================== + Hits 17234 18452 +1218 + Misses 4853 3793 -1060 - Partials 1102 1136 +34 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.