Skip to content

Commit faa53eb

Browse files
committed
fix: Make TocHelper.LoadYamlToc public
fixes #9516
1 parent f092a90 commit faa53eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Docfx.Build/TableOfContents/TocHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99

1010
namespace Docfx.Build.TableOfContents;
1111

12-
static class TocHelper
12+
public static class TocHelper
1313
{
1414
private static readonly YamlDeserializerWithFallback _deserializer =
1515
YamlDeserializerWithFallback.Create<List<TocItemViewModel>>()
1616
.WithFallback<TocItemViewModel>();
1717

18-
public static List<FileModel> ResolveToc(ImmutableList<FileModel> models)
18+
internal static List<FileModel> ResolveToc(ImmutableList<FileModel> models)
1919
{
2020
var tocCache = new Dictionary<string, TocItemInfo>(FilePathComparer.OSPlatformSensitiveStringComparer);
2121
var nonReferencedTocModels = new List<FileModel>();

0 commit comments

Comments
 (0)