-
Notifications
You must be signed in to change notification settings - Fork 62.8k
Update README documentation #39720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update README documentation #39720
Conversation
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksNote: Please update the URL for your staging server or codespace. The table shows the files in the
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
@Sharra-writes are these links supposed to work?
|
@@ -1,5 +1,6 @@ | |||
--- | |||
title: About READMEs | |||
title: Repository README file | |||
shortTitle: About READMEs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a hack. @Sharra-writes can fix it more properly at a later date.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked through our "about" docs and I've realized that most of them start with a section that's "About thing." I don't love that, I think it's a little pointless, but it seems to be the format. And then I read your issue again and realized you were initially talking about changing the title. What would you think about doing that, using "About the repository README file" as the title, and leaving "About READMEs" as the section title? Alternatively, if you can come up with another/better section title, I would be very in favor of it. I was kicking around things like "Overview of READMEs" or "Purpose of a README," but I'm not sure "overview" is different enough from "about" to justify breaking the format, and the section as currently written doesn't quite fit a "purpose" heading.
In the meantime, I'm pretty sure we changed things recently so that the URL can match the short title instead of having to match the title, but I need to see if there's anything special I have to do to make that work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The about
section title is indeed annoying.
And yes, I'm more interested in changing the first title than the second. afaict the shortTitle does let me do what I need to avoid trying to rename things all over.

The second About READMEs
is actually pretty terrible in this case given the content it "covers" (but doesn't actually cover!):
You can add a README file to a repository to communicate important information about your project. A README, along with a repository license, citation file, contribution guidelines, and a code of conduct, communicates expectations for your project and helps you manage contributions.
Effectively half of the content for the first paragraph in the section has nothing to do with the README file!
I considered:
## Repository Overview
Which might properly cover what's in that paragraph.
If you put your README file in your repository's hidden
.github
, root, ordocs
directory, GitHub will recognize and automatically surface your README to repository visitors.
This sentence might not be technically wrong, but I read it as:
- If you put your README file in your repository's hidden
.github
directory; or - If you put your README file in your repository's hidden root directory; or
- If you put your README file in your repository's hidden
docs
directory;
...
which isn't what the author was trying to say. I have to endorse your plan to make rewriting this file a project to do very soon.
This paragraph needs a section heading so it can have an anchor:
If you add a README file to the root of a public repository with the same name as your username, that README will automatically appear on your profile page. You can edit your profile README with GitHub Flavored Markdown to create a personalized section on your profile. For more information, see Managing your profile README.
Your link text should be on a single line. The example below will not work.
[Contribution guidelines for this project](docs/CONTRIBUTING.md)
I hope that statement was correct at some point, but regardless, it doesn't appear to be correct today:
https://github.com/check-spelling-sandbox/ideal-eureka-effective-guacamole?tab=readme-ov-file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm actually struggling w/ a title for the document.
I considered:
title: About the repository README file
But, I don't think that's really what this document is about.
It's more like "What to put into a repository README file, where to put it, and how it will be seen"
How about:
title: Using a repository README file
That isn't wrong, the document does help you use one. It helps you know where to put it, it helps you know what to put in it, and it helps you understand how others will use/experience it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fwiw, I've reverted me change to the ## About READMEs
-- I can't think of any good way to handle that, and the page title is more important/problematic than the first item in it, even though that's clearly a mess. 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/ghes-releases/lib/enterprise-dates.json
@@ -1,5 +1,6 @@ | |||
--- | |||
title: About READMEs | |||
title: Repository README file | |||
shortTitle: About READMEs |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -35,25 +36,25 @@ When your README is viewed on GitHub, any content beyond 500 KiB will be truncat | |||
|
|||
{% data reusables.profile.profile-readme %} | |||
|
|||
## Auto-generated table of contents for README files | |||
## Auto-generated table of contents for markdown files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Josh Soref initiated a pull request to update README documentation on
GitHub.
- He is debating with Sharra-writes and Daniel about specific changes
and titles.
08165013013
…On Fri, Aug 8, 2025, 8:46 PM Josh Soref ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In
content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes.md
<#39720 (comment)>:
> @@ -35,25 +36,25 @@ When your README is viewed on GitHub, any content beyond 500 KiB will be truncat
{% data reusables.profile.profile-readme %}
-## Auto-generated table of contents for README files
+## Auto-generated table of contents for markdown files
Since *this* page has a ToC that's automatically *displayed*, I see no
reason for the section titles to say README when the section content
clearly says "well, actually, any markdown file".
image.png (view on web)
<https://github.com/user-attachments/assets/2b34a041-1771-482d-a446-002fa3614150>
—
Reply to this email directly, view it on GitHub
<#39720 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BU5CSBMNXHCUOFKVTDACFG33MT5CBAVCNFSM6AAAAACDME2WWSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTCMBRHE3TQNZRHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Why:
README
files, but the content relates to a singleREADME.md
file per repository #39707What's being changed (if available, include any code snippets, screenshots, or gifs):
Check off the following: