0.6.0 • Published 6 years ago

json-typescript-docs v0.6.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

json-typescript-docs

Takes a set of TypeScript projects and creates a JSON file designed to be the source of an API docs site. The output file is in JSON API format.

The exact format is described by a TypeScript interface.

TypeDoc is used under the hood. It's a better tool if you want a complete, out-of-the-box API docs solution.

Installation

npm install -g json-typescript-docs

Step 1: Generate a config file

See config schema.

{
  "manifest" : {
    "title": "My docs site",
    "intro": "Everything is awesome"
  },
  "projects": [
    {
      "src": "path/to/some/project/tsconfig.json"
    }
  ],
  "output": "out.json"
}

Note that the src can either be the path to the tsconfig.json or the root path of the TypeScript sources (not necessarily the project root folder).

Step 2: Run transform

jtd my-config.json
0.6.0

6 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago