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

Support tsconfig.json #130

Closed
bryanforbes opened this issue Aug 13, 2015 · 24 comments
Closed

Support tsconfig.json #130

bryanforbes opened this issue Aug 13, 2015 · 24 comments
Labels
enhancement Improved functionality
Milestone

Comments

@bryanforbes
Copy link

Since projects can specify their compiler options and included files via tsconfig.json, it would be great if typedoc would support specifying generating documentation by passing it a tsconfig.json. I could see the following as the command-line invocation:

$ typedoc --mode modules --exclude **/tests/** --excludeNotExported --out docs tsconfig.json

In my mind, this would get the list of project files from tsconfig.json's files property, apply the exclude pattern to those files, get the compiler options from the compilerOptions property, and then generate the docs.

@sebastian-lenz sebastian-lenz added the enhancement Improved functionality label Aug 22, 2015
@sebastian-lenz
Copy link
Member

Hi Bryan, thank you for sharing this. I think this is a good idea, maybe we could even append the documentation parameters to tsconfig.json so they can be easily shared with others.

@ghost
Copy link

ghost commented Aug 23, 2015

+1

1 similar comment
@hourliert
Copy link

👍

@sebastian-lenz sebastian-lenz added this to the TypeDoc 0.4 milestone Sep 19, 2015
@stepancar
Copy link

+1

7 similar comments
@dabbank
Copy link

dabbank commented Oct 19, 2015

+1

@eggers
Copy link

eggers commented Nov 5, 2015

👍

@joemcelroy
Copy link

👍

@listepo
Copy link

listepo commented Nov 19, 2015

+1

@xstof
Copy link

xstof commented Nov 28, 2015

+1

@meriturva
Copy link

+1

@dsebastien
Copy link

+1

@josh-fisher
Copy link

+1

1 similar comment
@readme42
Copy link

readme42 commented Feb 4, 2016

+1

@tforgione
Copy link

+1

Any news on this ?

@DanielJoyce
Copy link

Yeah, typedoc is pretty much worthless for me without this. Also ships with moldy old typescript version ( 1.6 ) and can't find how to get it to use different version.

@cfischer
Copy link

cfischer commented Jun 1, 2016

+1

@lholznagel
Copy link

Guys, please!
When you are intressted in this topic, please click on Subscribe.
If you want to to say that this is a nice feature just click on the smiley and press your reaction. Github added that for a reason. One of the reason is that the +1 is annoying for all that subscribed or watch a issue/repo.

Thanks!

@DaSchTour
Copy link

But reactions don't make me a participant and when watching a repo I want to me notified in a different way for certain topics.

@tht13
Copy link

tht13 commented Jun 2, 2016

Then click the subscribe button in the column on the right

@DaSchTour
Copy link

There is only an Unsubscribe Button.

@tforgione
Copy link

tforgione commented Jun 2, 2016

It's an unsubscribe button only because you're already subscribed...

@DaSchTour
Copy link

Yes and it was already an Unsubscribe when I entered this topic. But now I see it in my Participating block in my Notifications.

@TobiaszCudnik
Copy link
Contributor

Seems like its supported now. With typedoc --help you get

--tsconfig Specify a js option file that should be loaded. If not specified TypeDoc will look for 'typedoc.js' in the current directory.

@blakeembrey
Copy link
Member

Thanks @TobiaszCudnik

Feel free to open a new issue if there's any problems that come up 😄

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

No branches or pull requests