Skip to content

Commit

Permalink
Merge pull request #23 from Ellerbach/fix-toc-index-problem
Browse files Browse the repository at this point in the history
FIX: removed filter on INDEX.md to process existing ones
  • Loading branch information
Ellerbach authored Mar 14, 2023
2 parents 7f84504 + c394f9b commit 0c7b491
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/DocFxTocGenerator/TocGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ private static void GetFiles(DirectoryInfo folder, List<string> order, TocItem y
_filePatternsForToc
.SelectMany(pattern => folder.GetFiles(pattern, _caseSetting))
.OrderBy(f => f.Name)
.Where(f => f.Name.ToUpperInvariant() != "INDEX.MD")
.ToList();
if (!files.Any())
{
Expand Down

0 comments on commit 0c7b491

Please sign in to comment.