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

man page #127

Closed
noraj opened this issue Sep 11, 2022 · 6 comments · Fixed by #156
Closed

man page #127

noraj opened this issue Sep 11, 2022 · 6 comments · Fixed by #156
Assignees
Labels

Comments

@noraj
Copy link
Owner

noraj commented Sep 11, 2022

generate a man page and ship it under man/haiti.1

idea for man page in markdown then conversion to troff with pandoc

A better alternative would be to use Ronn ronn-ng

Also I can try cli2man to convert the help message into a manpage but I don't have to much hope. (dead for 9 years, still use python2) An newer alternative is https://github.com/Freed-Wu/help2man.

A nicer alternative would be to use https://github.com/postmodern/kramdown-man

AsciiDoc to manpage

@noraj noraj added this to the 1.4.1 milestone Sep 11, 2022
@noraj noraj added the feature new features label Sep 11, 2022
@noraj noraj modified the milestones: 1.4.1, 1.5.0 Dec 2, 2022
@noraj noraj removed this from the 1.5.0 milestone Apr 8, 2023
@virajsazzala
Copy link
Contributor

Hello, can you assign this to me?

@noraj noraj assigned noraj and virajsazzala and unassigned noraj Oct 1, 2023
@noraj
Copy link
Owner Author

noraj commented Oct 1, 2023

Hi @virajsazzala, yes, just tell me which method you plan to implement.

@virajsazzala
Copy link
Contributor

virajsazzala commented Oct 1, 2023

Yes, @noraj I've looked into it. I thought of using ronn to make the haiti.1 man page. It's simple and good!

I was wondering, if i should just create the man page or create and write a script to auto install it? something like a install.rb file and add the script to haiti.gemspec

@noraj
Copy link
Owner Author

noraj commented Oct 1, 2023

@virajsazzala You can provide the man page in the ronn markdown format and if you want to provide a rake task in https://github.com/noraj/haiti/blob/master/Rakefile to use ronn-ng to convert it to an actual man page and deploy it under man/haiti.1.

@virajsazzala
Copy link
Contributor

@noraj Alright, then I'll make an actual man page -> haiti.1, and deploy it under man/haiti.1. I'll also write a rake task for this.

@noraj
Copy link
Owner Author

noraj commented Nov 12, 2023

ronn is old, unmaintained and unreliable

I'm moving to asciidoc to generate man pages which is more powerful, robust, reliable and maintained.

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

Successfully merging a pull request may close this issue.

2 participants