Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 545 Bytes

comments.md

File metadata and controls

42 lines (32 loc) · 545 Bytes

General information

Compodoc use Typescript AST parser and it's internal APIs, so the comments have to be JSDoc comments :

/**
 * Supported comment
 */

These ones are not supported :

/*
 * unsupported comment
 */

/*
  unsupported comment
 */

// unsupported comment

New lines are created inside a comment with a blank line between two lines.

/**
 * First line
 *
 * Second line
 */

The example below will produce only one line in the outputed documentation.

/**
 * First line
 * Second line
 */