NgDocBuildPageSchema
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 1- Extends
SchematicArgv
DeclarationTypeScript
export interface NgDocBuildPageSchema extends SchematicArgv { … }Members
Properties7 | |
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?: 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) |
No members match.