dotnet / docfx

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

fix: change link as plaintext if API is excluded #10300

Closed filzrev closed 1 month ago

filzrev commented 1 month ago

This PR intended to fix problem reported at #10287.

When class is excluded. link target document is not exists. So link to excluded symbol should be rendered as plain text.

What's changed in this PR It needs SymbolFilter::IncludeApi instance to check specific symbol is excluded or not. So it need to pass SymbolFilter instance to API that generate URL.

Test Tested on local environment with following output formats.

yufeih commented 1 month ago

Thank you for the fix!