Skip to content
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

Table of Contents discussion #15

Closed
RichardLitt opened this issue May 27, 2016 · 3 comments
Closed

Table of Contents discussion #15

RichardLitt opened this issue May 27, 2016 · 3 comments

Comments

@RichardLitt
Copy link
Owner

@tunnckoCore, here:

Except one requirement in "Table of contents":

Must be at least one-depth: must capture all ## headings.
In my repos i my name and badges/links to me as last h2 heading.

That's cool; for reference, see this README. I don't think this is the right approach, though - it's something I haven't seen much before, and I don't think it adds anything to the repo by having these be sections. So, I don't think I will adopt this. The creator's name isn't actually relevant to the code, and doesn't help with using it.


@rstacruz, here:

Curious: Would it be prudent to require a ToC even for the shortest of readmes? What led to the decision to require ToC's?

I think that ToC's make it much, much easier to get - at a glance - what is in the readme when it is long. For shorter ones, I don't think it adds too much noise, and it is still useful for simply not having to think about scrolling. A lot of people work on GitHub on small screens - my mac is a puny 5 inches high. Having a ToC helps more than it detracts. Keeping it to second-level headers only is useful. This is a style decision.

@tunnckoCore
Copy link

get-comments is not good example, but yea, last heading to be me is too personalized. just don't see sense on license as last heading.

@RichardLitt
Copy link
Owner Author

Yeah. The License as the last section is just what I've seen as a standard, and it makes sense to me.

@RichardLitt
Copy link
Owner Author

Reopen as needed.

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

No branches or pull requests

2 participants