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

Find tools for documentation #16

Open
jonahkagan opened this issue Dec 25, 2012 · 2 comments
Open

Find tools for documentation #16

jonahkagan opened this issue Dec 25, 2012 · 2 comments

Comments

@jonahkagan
Copy link
Contributor

First, there's the issue of documenting the code.

A brief survey of existing documentation generating libraries yielded almost nothing worthwhile. The leaders seem to be Dox (which uses JSDoc syntax that I find pretty unappealing) and Docco (which doesn't have any syntax and as far as I can tell simply puts your comments next to your code in HTML...).

I'm almost tempted to just write my own...

Then there's the issue of documenting the APIs.

There's Swagger, which seems a bit intrusive, since it actual gets all up in your code. But it does seem to also be able to generate docs from JSON schema specs. We should look into it. There's also I/O Docs. Their example page is pretty ugly though, so I dunno if I wanna go there.

I wonder if we should just write a quick little program that parses a JSON schema and renders it in a Markdown or HTML template. I like the idea of having schemas so that we can test against them as well.

@sumnerwarren
Copy link
Contributor

Swagger will definitely do what we want, but I'd say it's more than intrusive, at least if we use their node package. I would be fine with writing our own quick and easy one though.

@jonahkagan
Copy link
Contributor Author

I played around with writing my own a bit. I don't think it will be too hard once we want to start working on it, but it's probably not first priority. Although having schemas might also be good for testing.

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

No branches or pull requests

2 participants