Skip to content

docs: drop case-duplicate index.md — keep canonical INDEX.md (macOS checkout fix) - #8

Open
gustavorps wants to merge 1 commit into
ParapluOU:mainfrom
gustavorps:fix/index-case-duplicate
Open

docs: drop case-duplicate index.md — keep canonical INDEX.md (macOS checkout fix)#8
gustavorps wants to merge 1 commit into
ParapluOU:mainfrom
gustavorps:fix/index-case-duplicate

Conversation

@gustavorps

Copy link
Copy Markdown

Problem

docs/terminusdb/ tracks two files differing only in case:

  • INDEX.md — the canonical navigation index (293 lines, links every mirror file)
  • index.md — the mirrored docs landing page (added by the 2026-07-08 mirror refresh, commit 966bdf6)

On case-insensitive filesystems (macOS APFS default, Windows NTFS) the two git entries share the same disk file. Since the tracked blobs have different content, one of the two entries always shows as modifiedgit status is permanently dirty for every contributor on macOS, and no checkout/reset can reconcile them. This breaks the developer experience and any git status-based checks in local workflows.

Fix

Remove docs/terminusdb/index.md (the lowercase entry), keeping the canonical INDEX.md.

  • The landing-page content is regenerable: the mirror refresh procedure documented in docs/terminusdb/README.md re-copies it from upstream src/app/docs/page.md.
  • No in-repo file links to docs/terminusdb/index.md (verified), so no links break.
  • index-your-data.md etc. are unaffected.

Notes

  • HTTP/RFC-wise the collision is invisible on Linux CI (case-sensitive FS), which is why it went unnoticed — it only manifests on macOS/Windows checkouts.
  • The refresh script in README.md will regenerate the landing page as index.md again on the next mirror refresh; that is acceptable — the refresh procedure may adopt a case-safe name (e.g. landing.md) in a follow-up.

The v12 docs mirror refresh (966bdf6) tracked both INDEX.md and index.md
with different blobs; on case-insensitive filesystems the pair can never
be checked out cleanly. Keep the canonical INDEX.md (full nav index).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant