0
我按照此tutorial爲類庫創建API文檔。Docfx API參考 - 未解決請參閱標記
在我的類庫的評論中,我們使用參見標籤來引用其他類型。
例如,這是一種含有擴展方法的一類用於System.Action註釋:
/// <summary>
/// Class containing some extension methods for <see cref="Action" />.
/// </summary>
public static partial class ActionEx
docfx創建用於上述註釋以下YAML源:
summary: "\n Class containing some extension methods for <xref href=\"System.Action\" data-throw-if-not-resolved=\"false\"></xref>.\n"
最終HTML輸出包含相同的字符串:
Class containing some extension methods for <xref href="System.Action" data-throw-if-not-resolved="false"></xref>.
我希望docfx可以創建一個參考System.Action或忽略標記。
如何讓docfx呈現標記「正確」?