We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2928361 commit 02173a7Copy full SHA for 02173a7
src/Docfx.Build/ManifestProcessor.cs
@@ -208,8 +208,13 @@ void UpdateTocNameCore(List<TocItemViewModel> items)
208
{
209
if (string.IsNullOrEmpty(node.Name))
210
211
+ // Try to get title from href
212
if (node.Href is not null && titles.TryGetValue(UriUtility.GetPath(node.Href), out var title))
213
node.Name = title;
214
+ // If topicUid exists. Name is resolved by TocDocumentProcessor
215
+ else if (node.TopicUid != null)
216
+ {
217
+ }
218
else
219
Logger.LogWarning(
220
$"TOC item ({node}) with empty name found. Missing a name?",
0 commit comments