When multipleREADMEfiles exist in different locations within a GitHub repository, theREADME.mdfile located in the root directory of the repository will be displayed first by default. This file serves as the main documentation for the repository and is automatically rendered on the repository's home page.
Root Directory:
Option Cis correct because theREADME.mdfile in the root directory is prioritized and displayed first on GitHub. This is the standard behavior for how GitHub presents documentation.
Incorrect Options:
Option A(.github) is incorrect because while aREADME.mdfile in the.githubdirectory might be used for certain configurations, it is not the first to be displayed.
Option B(/src) is incorrect because theREADME.mdin thesrcdirectory is not prioritized over the root.
Option D(/docs) is incorrect because documentation in the/docsfolder is typically secondary to the rootREADME.md.
References:
GitHub Docs: About READMEs
=================
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit