@@ -56,8 +56,8 @@ private async Task<RenderResult> RenderLayout(MarkdownFile markdown, MarkdownDoc
5656 var html = MarkdownFile . CreateHtml ( document ) ;
5757 await DocumentationSet . Tree . Resolve ( ctx ) ;
5858
59- var fullNavigationRenderResult = await NavigationHtmlWriter . RenderNavigation ( markdown . NavigationRoot , markdown . NavigationSource , INavigationHtmlWriter . AllLevels , ctx ) ;
60- var miniNavigationRenderResult = await NavigationHtmlWriter . RenderNavigation ( markdown . NavigationRoot , markdown . NavigationSource , 1 , ctx ) ;
59+ var fullNavigationRenderResult = await NavigationHtmlWriter . RenderNavigation ( markdown . NavigationRoot , INavigationHtmlWriter . AllLevels , ctx ) ;
60+ var miniNavigationRenderResult = await NavigationHtmlWriter . RenderNavigation ( markdown . NavigationRoot , 1 , ctx ) ;
6161
6262 var navigationHtmlRenderResult = DocumentationSet . Context . Configuration . Features . LazyLoadNavigation
6363 ? miniNavigationRenderResult
@@ -135,7 +135,7 @@ private async Task<RenderResult> RenderLayout(MarkdownFile markdown, MarkdownDoc
135135 UrlPathPrefix = markdown . UrlPathPrefix ,
136136 AppliesTo = markdown . YamlFrontMatter ? . AppliesTo ,
137137 GithubEditUrl = editUrl ,
138- AllowIndexing = DocumentationSet . Context . AllowIndexing && ( markdown is DetectionRuleFile || ! current . Hidden ) ,
138+ AllowIndexing = DocumentationSet . Context . AllowIndexing && ( markdown . CrossLink . Equals ( "docs-content://index.md" , StringComparison . OrdinalIgnoreCase ) || markdown is DetectionRuleFile || ! current . Hidden ) ,
139139 CanonicalBaseUrl = DocumentationSet . Context . CanonicalBaseUrl ,
140140 GoogleTagManager = DocumentationSet . Context . GoogleTagManager ,
141141 Features = DocumentationSet . Configuration . Features ,
0 commit comments