From faa53eb1b1f3b42dc3ca669307e1d6ab425fd5ea Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Sat, 13 Jan 2024 14:40:27 +0800 Subject: [PATCH] fix: Make TocHelper.LoadYamlToc public fixes #9516 --- src/Docfx.Build/TableOfContents/TocHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Docfx.Build/TableOfContents/TocHelper.cs b/src/Docfx.Build/TableOfContents/TocHelper.cs index a38316080e9..5ff08517a92 100644 --- a/src/Docfx.Build/TableOfContents/TocHelper.cs +++ b/src/Docfx.Build/TableOfContents/TocHelper.cs @@ -9,13 +9,13 @@ namespace Docfx.Build.TableOfContents; -static class TocHelper +public static class TocHelper { private static readonly YamlDeserializerWithFallback _deserializer = YamlDeserializerWithFallback.Create>() .WithFallback(); - public static List ResolveToc(ImmutableList models) + internal static List ResolveToc(ImmutableList models) { var tocCache = new Dictionary(FilePathComparer.OSPlatformSensitiveStringComparer); var nonReferencedTocModels = new List();