Open
Description
openedon Mar 25, 2020
Operation System: Windows
DocFX Version Used: 2.51.0 (NuGet)
Template used: default
Steps to Reproduce:
- Unzip the attached minimal repro : docfx-bug.zip
- Run docfx with
docfx.exe --intermediateFolder .\obj -o .\build --serve --debug
- Observe the warning
Invalid cref value "!:A.B.BaseClass.Field" found in triple-slash-comments for OtherClass, ignored
- Open http://localhost:8080/api/A.B.C.html and observe the "See: ." missing the reference to
A.B.BaseClass.Field
.
So far so good, even though I am not sure why cref
doesn't work here. Anyway, on to the actual bug:
- Change
other.cs
and replacecref
withxref
- Run docfx again (same args)
- Observe no warning
- Open http://localhost:8080/api/A.B.C.html and observe again the "See: ." missing the reference to
A.B.BaseClass.Field
.
Expected Behavior:
- Either a warning about an invalid reference (although I don't see why... but I am not an xref expert)
- Or actually the cross-reference generating a text with a link (hyperlink)
Actual Behavior:
Cross-reference XML tag is copied as-is to the output, and not rendered by the browser which cannot understand e.g. <see>
tags.
Activity