A PureScript port of typescript-docs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
src
.bowerrc
.gitignore
LICENSE-MIT
Makefile
README.md
bower.json
index.js
package.json

README.md

typescript-docs

A documentation generator for TypeScript code

Installation

Install globally using npm install -g typescript-docs.

Usage

typescript-docs works on TypeScript definition (.d.ts) files to create HTML documentation.

Generate a .d.ts file for your TypeScript code, by using the -d flag on the command line, and then pass the resulting file to typescript-docs as follows:

typescript-docs -i my-defs.d.ts

This will print the HTML onto standard output. To redirect the HTML output to a file, use the -o flag:

typescript-docs -i my-defs.d.ts -o index.html

Contributing

If you would like to contribute to this project, you will need to install the PureScript compiler.

Use Bower to pull dependencies, and Pulp to build the sources via the bundled Makefile:

bower update
npm install -g pulp
make