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

Exposing API docs #16

Open
ghost opened this issue Apr 24, 2016 · 7 comments
Open

Exposing API docs #16

ghost opened this issue Apr 24, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 24, 2016

Hi there,

I was just thinking ... wouldn't it be an idea to typedoc each registered definition, and add that information to the (yet to be completed) registry? That way, developers can quickly look up the type signature of a function, and see which (sometimes hidden) type names are used.

@demurgos
Copy link

Most of the definitions I've seen already add comments with the related doc. I think formatting it a bit (adding @param <nam> and @returns) could be encouraged. Even if there are already lots of definitions, the project is still young so it could be possible to promote it.

I don't really know if it's should be mandatory, but it's definitely looks like a good thing (in the end, both typedoc and typings want to provide some meta-data about the code).

@blakeembrey
Copy link
Member

I love the idea. I need to get around to getting typedoc updated though. Aside from that, it would be nice to have. Individual definition repos could definitely generate docs and I think registry items would be an awesome 👍 if we build a website 😄

@ghost
Copy link
Author

ghost commented Apr 27, 2016

Haha indeed if there is a website. Glad you like the idea 😄 I'd love to help - if you need any help - but I probably won't be available until the upcoming summer.

@blakeembrey
Copy link
Member

@samvv Of course, that would be amazing 😄 I'd love to put together a beautiful site that helps people use TypeScript definitions.

@SomaticIT
Copy link

SomaticIT commented May 25, 2016

👍

  1. I think it could be really helpful.
  2. It could create an awesome visibility for typings.

@SomaticIT
Copy link

SomaticIT commented May 28, 2016

Just to let you know :

We built a module which generates jsdoc comments based on TypeScript definitions files (.d.ts).
It automatically adds types to jsdoc and provide a simple template to display correctly special tags.

ts2jsdoc | Website | Source
Samples :

The project is outdated (works with TypeScript 1.4) and we looks for volunteer to upgrade the project to TypeScript 1.8+.

Is anyone interested ?

Thanks.

@ghost
Copy link
Author

ghost commented May 28, 2016

@SomaticIT Nope, sorry. I'm sticking with TypeDoc. Wish you good luck with the project, though.

@ghost ghost mentioned this issue Jun 28, 2016
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

3 participants