Getting rid of README tab? #176939
-
| I started a repo | 
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
| The “Add a README” box appears when the root of the repository is empty. Even if you leave the option off when creating the repo, GitHub will prompt you until there’s at least one file in the root directory. Standard Ebooks repos don’t show this because their root contains files like book.opf, cover.jpg, and text or HTML content. Note: If the root only has .pdf or other binary files, GitHub still shows the “Add a README” box, because it doesn’t count PDFs as content that suppresses the prompt. To replicate the behavior: Add at least one text-based content file (like .opf, .html, .txt) in the root. Keep no README.md. Once the root has proper content files, GitHub will hide the “Add a README” box and the README tab won’t appear. There’s no separate setting to turn it off—it’s purely content-driven | 
Beta Was this translation helpful? Give feedback.
-
| I have an .opf file and several .xhtml files in the root (in the src folder). Aren't they text files? | 
Beta Was this translation helpful? Give feedback.
-
| Since you’re trying to follow the Standard Ebooks repository style, note that all of their repos include a license.md file. If you add a license.md file to your repository, the README tab and the “Add a README” box will disappear automatically. | 
Beta Was this translation helpful? Give feedback.
-
| I already have a license.md file. | 
Beta Was this translation helpful? Give feedback.
-
| Can you share me your repo? Let me see how it is visible on my side | 
Beta Was this translation helpful? Give feedback.


Sorry, my bad. It shows
You have got the exact template as in the standard ebooks repo style
NO README