Integrations
Typescript
Generate docs from Typescript definitions
Usage
UI Integration
It comes with the AutoTypeTable
component. Learn more about Auto Type Table.
MDX Integration
You can use it as a remark plugin:
It gives you a auto-type-table
component.
You can use it like Auto Type Table, but with additional rules:
- The value of attributes must be string.
path
accepts a path relative to the MDX file itself.- You also need to add
TypeTable
to MDX components.
Annotations
Hide
Hide a field by adding @internal
tsdoc tag.
Specify Type Name
You can specify the name of a type with the @remarks
tsdoc tag.
This will make the type of time
property to be shown as timestamp
.
How is this guide?