node-gitteh icon indicating copy to clipboard operation
node-gitteh copied to clipboard

How to generate the documentation?

Open iamwilhelm opened this issue 11 years ago • 4 comments

@samcday How were you planning on generating the documentation? I'd like to be able to get on that, so we can have non-broken docs while we talk about the maintainer transition. Thanks!

iamwilhelm avatar Sep 06 '13 00:09 iamwilhelm

Well, the maintainer transition turned out to be a bigger thing (discussing wether we'll deprecate gitteh in favor of nodegit, or we'll continue development)

mildsunrise avatar Sep 06 '13 00:09 mildsunrise

I've played with a couple of different tools and am currently using groc. Is there a best practice tool for node project specifically, I see a mix of not great doc most of the time.

lushzero avatar Sep 09 '13 20:09 lushzero

groc? Didn't know of that tool. It's like a more featured Docco..?

To document my API I follow the method used in Node and recommended by NPM:

The markdown files follow have special "commands" like specifying parameters for a function, etc.

And if I ever want to generate good-looking HTML pages from the markdown files, I use the same tool that generates Node's.

mildsunrise avatar Sep 09 '13 21:09 mildsunrise

@ jmendeth groc is a code "autodoc" tool that has integration with github pages and produces in my opinion a very nicely formatted HTML output by default. It's not perfect and I think it was built primarily for "literate programming" which I don't necessarily take that seriously but it was the easiest/fastest/fewest dependencies/prettiest of several tools I tried including Docco.

I wasn't aware of that handy little joyent tool somehow so thanks for that. That's perhaps a nice complement to something fuller featured more verbose type generating tool like groc/etc.

lushzero avatar Sep 09 '13 22:09 lushzero