An open API service indexing awesome lists of open source software.

https://github.com/mkslanc/ace-docs

Ace documentation generator
https://github.com/mkslanc/ace-docs

Last synced: 29 days ago
JSON representation

Ace documentation generator

Awesome Lists containing this project

README

          

# Ace documentation generator

requires node >= 8

```
node generateAnnotations.js AceDirName/ace/src
```

Creates `classes.json` file in directory `generated`.
There will be warnings in `generated\annotations.log` for duplicated classes\methods implementations from different files.

Apply `classes.json` file to declaration with command

```
node generateNewDts.js ace.d.ts
```

There will be some information in `generated\declarations.log` that you could use for improving declaration file. (Missing events, methods, constructors)

The final step will generate output documentation with TypeDoc.
You will need to change `generator-options.json` with your settings.

Important! Change `gitLink` parameter with used Ace release link - for example: `https://github.com/ajaxorg/ace/tree/v1.4.2/`

```
node generateDoc.js doc
```

First parameter - output directory for documentation

Also log file will be created in `generated` dir with name `documentation.log`

```
node generateAnnotations.js ace/lib/ace
node generateNewDts.js ace.d.ts
node generateDoc.js doc
```