News for hackers. Stuff that matters.
Re:Notebook Is A Better Readme by ktpsns on Saturday December 19, 2020 @08:15AM (#25477211)
This. Readme files should be readable by anyone. That's one of the promises in the filename (it is readable ;) ). There is a reason readme files are not PDF files.
Re:Notebook Is A Better Readme by sokoloff on Saturday December 19, 2020 @08:56AM (#25477413)
In the examples provided, I find the original text quite readable in text-only format. It just has additional richness if interpreted in notebook form. (I'm sure that someone will take the examples quite a bit farther and make portions of the documentation less accessible in plain utf-8 format, but major portions will still be entirely usable I think.)

Are man pages not readable because the original source form is troff?

Re:Notebook Is A Better Readme by pietrovismara on Saturday December 19, 2020 @01:22PM (#25479703)
Ok but then you get README files that are useless on their own, containing basically only a brief descriptions and several links to github pages / docs website. What good does it make to be able to read that on your terminal?
Re:Notebook Is A Better Readme by prepend on Saturday December 19, 2020 @04:59PM (#25481634)
I don’t think thats required and based on viewing probably dozens of readmes a week that’s pretty rare. It varies a lot by project but I find readmes pretty useful even if they do point to a readthedocs site for more info.

I think it’s unusual to have a readme with as much info as a man page, but readme is for the source right. The documentation is usually organized depending on the type of project.

Re:Notebook Is A Better Readme by threatofrain on Saturday December 19, 2020 @09:03AM (#25477443)
Readme files aren’t readme files anymore. Now they’re collaborative team documents used for all sorts of purposes, such as onramping new people or explaining bureaucratic structure.

The times should reflect this evolving need.

Re:Notebook Is A Better Readme by jeroenhd on Saturday December 19, 2020 @10:40AM (#25478033)
I'd say that after the launch of Github wikis/Pages, using READMEs as anything but a quick project overview is a regression rather than an evolution.

Sure, you can put a bunch of quick links in there to get people started, but as a potential user interested in using a project, I'm not interested in your complete overview of the source code architecture or the necessary onboarding steps.

Put a quick link in the README to guide people to the right place, but don't put all of your project documentation in there unless your project is particularly small. We've grown beyond storing a bunch of texts files in a SVN respository, every major source control system also has a way to document your project.

If you choose to keep your documentation inside of your source control, the rise of Markdown viewers that support navigating links can help you achieve the same benefits by just linking to docs/project-overview.md in the top of your README.

Re:Notebook Is A Better Readme by bayindirh on Saturday December 19, 2020 @09:58AM (#25477756)
> The times should reflect this evolving need.

There's no need since, these needs are already addressed in their own files for decades IMHO.

Readme files are a general map most of the time. Other relevant files are "Install", "Contributing", etc. Your README should be concise and refer to another text (or markdown) files in the repository.

Of course people adapt and evolve but, I don't understand the attitude of "We've just invented this". No, we didn't. README.1st, CONTRIBUTING files are as old as computing now.

Re:Notebook Is A Better Readme by prepend on Saturday December 19, 2020 @09:52AM (#25477725)
They can be both. I actually like markdown for collaborative team documents because they are so simple. I’d rather people focus on the content rather than trying to make the perfect PowerPoint or format a word doc or something.

I also like that the on-ramp document can get PRs from new hires who find some improvement, etc etc.

Re:Notebook Is A Better Readme by qsort on Saturday December 19, 2020 @09:40AM (#25477673)
Those things are deserving of being explained, but do they really need to be in a readme? Can't we just link to them?