Constructors
constructor
- new Docord(commands: Map<string, Command>, outDir: PathLike): Docord
-
Parameters
-
commands: Map<string, Command>
-
outDir: PathLike
Properties
Private outDir
outDir: PathLike
Methods
generate
- generate(): Promise<(string | Buffer | URL)[]>
-
Returns Promise<(string | Buffer | URL)[]>
Static Private existsAsync
- existsAsync(path: PathLike): Promise<boolean>
-
Parameters
Returns Promise<boolean>
Static Private mkdirAsync
- mkdirAsync(path: PathLike): Promise<PathLike>
-
Parameters
Returns Promise<PathLike>
Static Private writeFileAsync
- writeFileAsync(path: PathLike, data: NodeJS.ArrayBufferView | string, options?: WriteFileOptions): Promise<PathLike>
-
Parameters
-
path: PathLike
-
data: NodeJS.ArrayBufferView | string
-
Optional options: WriteFileOptions
Returns Promise<PathLike>
A documentation generator instance.