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
Address review: case-insensitive index detection, normalize casing, warn on collision
Detect explicit index pages case-insensitively (Where-Object -ieq) with de-duplication for case-sensitive runners; normalize any casing of index.md (Index.md/INDEX.md) to index.md in the output so MkDocs treats it as the section index; and emit a warning (instead of a silent overwrite) when a <Group>.md and an index.md coexist. Adds a Widgets/Index.md fixture to cover the casing path on Linux.
Write-Host' Group overview page detected - publishing as section index (index.md)'
253
+
Write-Host' Section index page detected - publishing as index.md'
254
+
} elseif ($file.BaseName-eq$parentFolderName) {
255
+
if ($parentFolder-in$explicitIndexFolders) {
256
+
Write-Warning"Group overview page '$relPath' is not used as the section index because the folder already has an explicit index.md; publishing it as a normal page."
0 commit comments