Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@gerrit0/typedoc
Advanced tools
Documentation generator for TypeScript projects.
TypeDoc runs on Node.js and is available as an NPM package. You can install TypeDoc in your project's directory as usual:
$ npm 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
.
$ npm install typedoc --global
$ typedoc
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:
$ typedoc --out path/to/documentation/ path/to/typescript/project/
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.
For a complete list of the command line arguments run typedoc --help
or read here.
--out <path/to/documentation/>
--mode <file|modules>
--options
--json <path/to/output.json>
--ignoreCompilerErrors
--exclude <pattern>
--includeDeclarations
--externalPattern <pattern>
--excludeExternals
--excludeNotExported
--excludePrivate
--excludeProtected
--module <commonjs, amd, system or umd>
--target <ES3, ES5, or ES6>
--tsconfig <path/to/tsconfig.json>
--theme <default|minimal|path/to/theme>
--name <Documentation title>
--readme <path/to/readme|none>
none
to disable the index page
and start the documentation on the globals page.--plugin
--hideGenerator
--gaID
--gaSite <site>
auto
--entryPoint <fully.qualified.name>
--gitRevision <revision|branch>
--toc EntryClass,ImportantInterface
--includes <path/to/includes>
Specifies the location to look for included documents. One may use [[include:FILENAME]]
in comments to include documents from this location.
--media <path/to/media>
Specifies the location with media files that should be copied to the output directory. In order to create
a link to media files use the pattern media://FILENAME
in comments.
--version
--help
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
There is a plugin available to run TypeDoc with Gulp created by Rogier Schouten. You can find it on NPM:
https://www.npmjs.com/package/gulp-typedoc/
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.com/package/grunt-typedoc
@internal
or @external
@tags
as single linesA list of all published Typedoc plugins can be found on NPM:
https://www.npmjs.com/search?q=keywords:typedocplugin
Visit our homepage for advanced guides and an extensive API documentation:
https://typedoc.org
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
For more information, read the contribution guide.
Copyright (c) 2015 Sebastian Lenz.
Copyright (c) 2016-2018 TypeDoc Contributors.
Licensed under the Apache License 2.0.
FAQs
Create api documentation for TypeScript projects.
The npm package @gerrit0/typedoc receives a total of 19 weekly downloads. As such, @gerrit0/typedoc popularity was classified as not popular.
We found that @gerrit0/typedoc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.