You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor TOC processing to handle excluded and unreachable files (#278)
* Refactor TOC processing to handle excluded and unreachable files
Updated the TOC processing logic to emit errors for excluded or unreachable files and ensure valid navigation indexes. These changes improve diagnostics during documentation builds and prevent invalid entries in the output structure.
* revert changes to assembly conf, unrelated to this PR
Context.EmitError(Context.ConfigurationPath,$"{excludedChild.RelativePath} is unreachable in the TOC because one of its parents matches exclusion glob");
77
+
78
+
MarkdownFiles=markdownFiles.Where(f =>f.NavigationIndex>-1).ToDictionary(i =>i.NavigationIndex, i =>i).ToFrozenDictionary();
0 commit comments