Skip to content

Commit 3c66ec3

Browse files
committed
Add NavigationSource
1 parent 690232b commit 3c66ec3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Elastic.Markdown/IO/Navigation/DocumentationGroup.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ protected DocumentationGroup(
198198
GroupsInOrder = groups;
199199
FilesInOrder = files;
200200
NavigationItems = navigationItems;
201-
Id = Convert.ToHexString(SHA256.HashData(Encoding.UTF8.GetBytes(FolderName + depth)))[..8];
202-
201+
Id = Convert.ToHexString(SHA256.HashData(Encoding.UTF8.GetBytes(NavigationSource + FolderName + depth)))[..8];
203202
if (Index is not null)
204203
FilesInOrder = [.. FilesInOrder.Except([Index])];
205204
}

0 commit comments

Comments
 (0)