dotnet / dotnet/docfx

[Regression] Nonsense links are rendered when source generators are used

Open
#10,850 2 comments 0 reactions 0 assignees View on GitHub
dotnet
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 9m
Merged PRs (30d)
11

Description

**Describe the bug**
When a public class internally uses the logger source generator, nonsense links are rendered in the output html of API docs.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a class library that contains a public type, whose implementation uses the .NET logger source generator
2. Run docfx to generate the website

**Expected behavior**
Correct links are rendered, or the links are omitted entirely (which is what earlier docfx versions did).

**Actual behavior**
Nonsense links are rendered, for example:
```html

```

**Context (please complete the following information):**
- OS: Windows
- Docfx version: v2.79.0
- .NET version: .NET 9

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.