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();