paf31 / typescript-docs-psc

A PureScript port of typescript-docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A PureScript port of typescript-docs

License:Other


Languages

Language:JavaScript 80.1%Language:PureScript 19.4%Language:CSS 0.5%Language:Makefile 0.1%