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

Improve headers in readme.md #967

Merged
merged 1 commit into from Apr 9, 2024
Merged

Improve headers in readme.md #967

merged 1 commit into from Apr 9, 2024

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Apr 8, 2024

The readme.md headers can be confusing. I often scroll up and down not knowing in which section I am.

I think one of the issues is that we re-use the same words for some options, subprocess properties and result properties. In general, that's a good thing, but it creates confusion in the readme.md. For example, we are using 3 times the "all" header: for the option, the stream, and the result property.

This PR fixes this by prefixing those headers. For example, options.all, subprocess.all, result.all and error.all. This makes it clearer which section the user is currently reading.

@sindresorhus
Copy link
Owner

👍

@sindresorhus
Copy link
Owner

Conflict

@ehmicky
Copy link
Collaborator Author

ehmicky commented Apr 9, 2024

Fixed.

@sindresorhus sindresorhus merged commit a5dcf42 into main Apr 9, 2024
12 checks passed
@sindresorhus sindresorhus deleted the readme-headers branch April 9, 2024 13:21
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

Successfully merging this pull request may close these issues.

None yet

2 participants