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

Add man page #4

Open
joelpurra opened this issue May 17, 2015 · 3 comments
Open

Add man page #4

joelpurra opened this issue May 17, 2015 · 3 comments

Comments

@joelpurra
Copy link
Owner

Feature suggested by @RobertAudi in #3.

Added a man np page generated from USAGE.md in 7c3e20e. It should be installed by package managers, such as brew install np in joelpurra/homebrew-joelpurra#1.

@RobertAudi
Copy link

This looks good (apart from this).

Also, I think a Contributing section should be added to the README to list the development dependencies (among other things). Potential contributors would be cought by surprise if they realize at the last moment that they need to install stuff in order to commit code.

On that note, I am starting to question the git hook decision. It might be a good reason NOT to contribute for some people.

@joelpurra
Copy link
Owner Author

@RobertAudi wrote:

Also, I think a Contributing section should be added to the README to list the development dependencies (among other things). Potential contributors would be cought by surprise if they realize at the last moment that they need to install stuff in order to commit code.

I'd rather keep it in the separate CONTRIBUTE.md file and a contribution section in the readme shouldn't do anything but point to it. This way there's no question that there's a single place for devs to look, and other tips can be added without making README.md long and less easy to read (which is important for newcomers). Not everyone is a dev, which is why I created a separate file when the TODO became too long (although I could/should also use issues for each suggested improvement/group to encourage discussions). I'm also thinking of moving manual installation to a separate file -- prefer to only promote package systems (although there's only brew atm).

On that note, I am starting to question the git hook decision. It might be a good reason NOT to contribute for some people.

True. It currently looks like you're forced to install md2man-roff for any kind of development. Could be mentioned that it isn't actually a requirement for non-usage altering patches, and that I could actually run the tool for them.

Is there an alternative solution? Having a Makefile would imply that compilation is required for usage, which it isn't. Having a separate update-man-page.sh command might work, as long as it's documented.

@joelpurra
Copy link
Owner Author

Oh, and I forgot to refactor the folder structure before pushing the commit. I don't think it's great at the moment, but couldn't think of an obvious place for the git hook (which isn't really source, but part of the dev stuff -- or build stuff, perhaps) as well as the generated man page (which isn't source either, but documentation -- except it's auto-generated). Suggestions (for example pull requests) are most welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants