paf31 / typescript-docs

A documentation tool for TypeScript Definition files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Features

  • Hyperlink generation
  • Basic module support
  • Support for simple jsdoc-style comments

Installation

First install the Haskell Platform.

Now install the typescript-docs package:

cabal install typescript-docs

Alternatively, clone and build locally:

git clone git@github.com:paf31/typescript-docs.git
cd typescript-docs
cabal install

Usage

Generate declaration files as part of your build:

tsc -d ...

Include comments:

tsc -d -c ...

Run typescript-docs

typescript-docs *.d.ts

Getting Help

typescript-docs --help

Styling

You may wish to style the following classes using css:

  • keyword
  • syntax
  • identifier
  • literal
  • mono

About

A documentation tool for TypeScript Definition files

License:MIT License


Languages

Language:Haskell 94.2%Language:CSS 5.8%