NgDocBuildPageSchema
| Extends: | |
The interface describes the possible parameters for generating the page, the generator can be called by the command below 123
ng g @ng-doc/builder:pageHere is an example showing how you can call a generator with all parameters
ng g @ng-doc/builder:page MyPage -r custom-route -m -c -o 1Properties
| Name | Type | Description |
|---|---|---|
| category | boolean | undefined | If parameter was provided, generator will import first parent category automatically (alias is |
| keyword | string | undefined | Keyword for the entity (alias is |
| name | string | undefined | Name of the page variable (alias is |
| order | number | undefined | Order of the page in sidebar (alias is |
| path inherited from | string | undefined | |
| route | string | undefined | Custom route for the page (alias is |
| title | string | Title of the page (can be provided as string after command) |