-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Draft] Outline of README #1
Comments
I'd add a required block about how to develop Developing
|
It would be better to be optional block. And vote ## License
MIT And because it is pretty simple thing like |
Having a How about I also feel like API documentation should be required. In my readmes I just call it "Usage" and have sub-headers for API or CLI (or both) depending on the module. |
I don't see the point in having The repetition for But if you want to do further development, it often is just plain coding ( As soon as it requires some more work than this, it obviously should be mentioned. Development
Contribution
As @mattdesl mentioned: for legal issues it's good to have it in the readme, but I fancy the idea of linking it in the Then the constraint is to have a badge linking to |
I think a required short description (one sentence, < 50 chars if possible, like package.json description field) and optional long description (more detail, context, links as necessary, preferably 1-2 paragraphs max) would make sense. It's nice to get a decent explanation of what the package does beyond a very terse description towards the top of a README.md. package-name
Long description latte disrupt sticky note long shadow actionable insight big data pivot pair programming venture capital integrate SpaceTeam thinker-maker-doer. Minimum viable product engaging long shadow intuitive minimum viable product venture capital 360 campaign agile personas disrupt. Install
Usagevar etc = require('you-get-it')
etc('...') |
it would be in the most visible place of the repo page, lol - next to the name of the repo, in first line of the readme. For me it enough visible and noticeable, plus it is link to license file with more expanded license text. There's absolutely no difference between to be at the bottom as heading and simple word "MIT" - whole new heading for one word and no link? nah. And why at the bottom? You're forced to scroll whole page to see the two words "LICENSE MIT"? nah, not make sense for me.
I thought that when i thinking the style of my new repos style, but didn't like the idea to have whole new section and adding more pixels before the actual reason that users is on that page - usage, example, api etc. So yea, I calculate that I should place only most most important at heading like badges for version and license, then the badges for services - which must be maximum 5 to not continue to next line.
cool idea 👍 And one more thing. The npm's step to apply standardized SPDX identifiers is cool and we should follow that step. And because license identifiers is standardized they are the best candidate for badges. |
Well, a couple issues:
I think it would be best to ask a few legal people (non-technical) and get their take on it, since they are the ones reviewing and clearing libraries. |
@mattdesl++ |
@ngoldman isn't this the repository short description? @tunnckoCore I'm up for having a required license & version badge. Not quite sure about the version though. It's commonly handled by the Second optional line for There should be an option to have both in the same line, that's why -1 for omitting the
|
it won't be there, dont look me that I set there next to license badge the npm badge - i have some habits and sense for colors and love symmetric.
why? it is same text but as image, there's no matter. |
Other point of view: |
agreed.
Im for that they both be optional.
it is link at the listing files of the repo lol, and for that these files are uppercased and always at the top of the list. |
The more I think about it, the more I agree with my last comment. |
ping @kemitchell since he may have some thoughts on how some of the legal / non-technical folk might want to see a "license" field. |
I think that the @zcei's initial post is a good target for a first product, with the addition of
There are probably a bunch of optional sections (such as |
exactly. it is the same to me for versions.
im not saying to restrict people to having it, lol - just to be optional and not throw if it not exists.
there's no reason to have license text at the readme, when you can just focus the license file on the moment when you visit the page and click on it if you want to read it. There's no sense to do needless clicks, scrolling, having "short license text at the bottom" and etc when you have what you need and it is on focus of your eyes from the moment you visit the page. If you are in the page to search license or you are legal guy your first thing to think is to look the list of files of the repo, then package.json, then anything else - badge and bottom of the readme as last instance. |
@tunnckoCore I don't like calling people out, but with |
Okay:
Other optional blocks can be proposed afterwards - I want to have a base consensus first! Can everyone agree to this? |
👍
Oh my god... noise. We commenting, we are here to discuss. |
I'm thinking about images or gifs to show an application usage, as this example. |
@RodrigoEspinosa: actually it's at the same syntactical position as the badges would be :D So there is no problem in having them there. |
@zcei that's ok then, I'm totally up for this standard 🐎 |
I assume it'll be called |
@yoshuawuyts sure :) |
I love when see it somewhere, but there's some modules/repos/libs/projects/packages that cant be displayed as gifs.
yep, except required license heading (block/section). |
@zcei Cool, +1 on the proposal. edit: maybe update the opening post to reflect the latest proposal? |
@yoshuawuyts did so. Good work all 👍 Will look into the markdown linting stuff tomorrow. Someone already started this? Let me know in case you want collaborator access |
Here's what @writethedocs has to say about the rough "what to write" outline of a readme http://docs.writethedocs.org/writing/beginners-guide-to-docs/#what-to-write |
I really think mdast to be a good markdown listing tool. Then again, I'm the author ;) in my defence, mdast has a lot of features, such as a warning interface built-in, which will require less boilerplate for a markdown/readme validator. Regarding linting itself, I'm almost done with a markdown validator. which does similar things to standard-readme, but focuses more on syntax and less on semantics. It's currently a private repo but I'd be glad to add anyone who wants to take a peek as a collaborator. |
@wooorm For sure I'd like to have a look at it. I'm sure it will help a lot! Also it's nice to have the owner of the used lib involved in the discussion here, so I'll give |
Documentation section, links to reference manuals (internal, external or wiki etc) |
Wanted to post a little update: Together with @wooorm s superb I opened a ticket and hope to get my hands dirty this evening, as I'm having a little pre-battlehack sit-in which hopefully results in hacking. |
+1 |
Updated:
Wed Jun 03 2015 23:50:34 GMT+0200 (CEST) (1433368234571
)standard-readme
Constraints
Blocks
Heading
Install(ation)
npm install <my-package>
, cuz sometimes it's notffmpeg
) are mentioned hereUsage / Example
API
standard
way to outline your API in the READMELicense
Optional Blocks
Badges
The text was updated successfully, but these errors were encountered: