TypeStrong/typedoc

Name: typedoc

Owner: TypeStrong

Description: Documentation generator for TypeScript projects.

Created: 2014-05-24 14:40:16.0

Updated: 2018-01-18 20:15:37.0

Pushed: 2018-01-18 01:52:42.0

Homepage: http://typedoc.org

Size: 6049

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TypeDoc

Documentation generator for TypeScript projects.

Build Status NPM Version Chat on Gitter Greenkeeper Enabled

Installation

TypeDoc runs on Node.js and is available as an NPM package. You can install TypeDoc in your project's directory as usual:

m install typedoc --save-dev

Like the TypeScript compiler, TypeDoc comes with a binary that can be called from anywhere if you install TypeDoc as a global module. The name of the executable is typedoc.

m install typedoc --global
pedoc
Usage
Shell

TypeDoc accepts most of the command line arguments that the TypeScript compiler accepts. One major difference is the fact that one may pass an entire directory instead of individual files to the documentation generator. So in order to create a documentation for an entire project you simply type:

pedoc --out path/to/documentation/ path/to/typescript/project/
Important note

Starting with version 0.2, TypeDoc no longer can predict whether files should be treated as modules or whether the project should be compiled into one big namespace. You must specify the mode argument in order to change the behaviour of TypeDoc.

Arguments
Source file handling TypeScript compiler Theming Content Miscellaneous
Webpack

There is a plugin available to run TypeDoc with Webpack created by Microsoft. You can find it on NPM:
https://www.npmjs.com/package/typedoc-webpack-plugin

Gulp

There is a plugin available to run TypeDoc with Gulp created by Rogier Schouten. You can find it on NPM:
https://www.npmjs.org/package/gulp-typedoc/

Grunt

There is a plugin available to run TypeDoc with Grunt created by Bart van der Schoor. You can find it on NPM:
https://www.npmjs.org/package/grunt-typedoc

Plugins
Advanced guides and docs

Visit our homepage for advanced guides and an extensive API documentation:
http://typedoc.org

Contributing

This project is maintained by a community of developers. Contributions are welcome and appreciated. You can find TypeDoc on GitHub; feel free to start an issue or create a pull requests:
https://github.com/TypeStrong/typedoc

License

Copyright (c) 2015 Sebastian Lenz.
Copyright (c) 2016-2017 TypeDoc Contributors.
Licensed under the Apache License 2.0.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.