Skip to content

Commit dfbd4af

Browse files
committed
comment
1 parent 72cda16 commit dfbd4af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Elastic.Documentation.Configuration/ConfigurationFileProvider.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public IFileInfo CreateNavigationFile(IReadOnlyDictionary<string, Repository> pr
6666
if (_fileSystem.File.Exists(tempFile))
6767
return NavigationFile;
6868

69+
// This routine removes `toc: `'s linking to private repositories and reindents any later lines if needed.
70+
// This will make any public children in the nav move up one place.
6971
var spacing = -1;
7072
var reindenting = -1;
7173
foreach (var l in _fileSystem.File.ReadAllLines(NavigationFile.FullName))

0 commit comments

Comments
 (0)