Skip to content

Commit

Permalink
fix: Make TocHelper.LoadYamlToc public
Browse files Browse the repository at this point in the history
fixes #9516
  • Loading branch information
yufeih committed Jan 13, 2024
1 parent f092a90 commit faa53eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Docfx.Build/TableOfContents/TocHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

namespace Docfx.Build.TableOfContents;

static class TocHelper
public static class TocHelper
{
private static readonly YamlDeserializerWithFallback _deserializer =
YamlDeserializerWithFallback.Create<List<TocItemViewModel>>()
.WithFallback<TocItemViewModel>();

public static List<FileModel> ResolveToc(ImmutableList<FileModel> models)
internal static List<FileModel> ResolveToc(ImmutableList<FileModel> models)
{
var tocCache = new Dictionary<string, TocItemInfo>(FilePathComparer.OSPlatformSensitiveStringComparer);
var nonReferencedTocModels = new List<FileModel>();
Expand Down

0 comments on commit faa53eb

Please sign in to comment.