Fix file name collision on case-insensitive file systems #1617
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Cloning the
thoughtbot/factory_bot
repo on a case-insensitive file system (the default for macOS) results in the following message:This makes it difficult to contribute to this project from a typical Mac setup.
Solution
SUMMARY.md
is a special file formdbook
, so it must stay as is.To solve the collision, this PR renames
summary.md
tointro.md
. This has two benefits:intro.md
no longer collides withSUMMARY.md
, meaning the repo can be cloned without warnings.intro.md
better aligns with the contents of that file, which has the name "Intro" in the table of contents.I updated the table of contents in
SUMMARY.md
to reflect the new file name, and added a redirect forsummary.html
→intro.html
for users and search engines that might be holding on to the old URL.Fixes #1580