-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 pages #275
Comments
It would be nice if there was a way to easily generate HTML doc too. Git uses Asciidoc to generate HTML and XML files and then Xmlto is used to generate man pages from xml files. By the way, |
@chriscool i always use |
After googling a bit (see for example: http://serverfault.com/questions/109490/how-do-i-write-man-pages), it looks like some other possible solutions could be: |
Ideally, I would like to be able to use godoc to generate all other documentation types. That way, all of our documentation stays consistent across mediums. |
Yeah, it looks like godoc has an -html flag, so using godoc and mango together can work. Also if we use Mango, we can still create HTML pages from the man pages as there are tools to do that like groff and man2html. But anyway maybe we should check that the HTML output looks nice. |
that would be a good first step, haha. Although, I think that godocs generated html looks quite nice, no need to convert man pages to html |
closing old issues. |
we may still want real man pages someday -- agreed to close until then. (if people really need this poke us here!) |
poke. |
+1 for man pages... (working on an Arch package to make installation easier, which traditionally comes with a |
we could generate them from the cli help |
I'd love to have this... how does man work with subcommands? |
It would be really cool to have a program/library that could accept one of the command objects from our commands lib and use it to generate a manpage. |
@whyrusleeping: take a look at @jbenet: probably not. the man page is supposed to explain the commands and workings of the program in depth. it would be better to generate it from the full documentation. |
Poke |
gx publish 4.4.29
Are there any manpages, yet? It would be really nice to have everything in one place. |
Any real unixy tool worth its salt has verbose man pages, Personally, I love being able to just say 'man ThisFunctionImWorkingWith' and get help in my terminal.
There exist a few different solutions for generating man pages from godoc information, this will probably be good enough for us. (as long as they can do per function breakdowns!)
https://code.google.com/p/mango-doc/
The text was updated successfully, but these errors were encountered: