renderer
Rendererβ
Constructorsβ
new Renderer()β
new Renderer(
printer,
outputDir,
baseURL,
group,
prettify,
docOptions): Renderer
Parametersβ
printerβ
typeof IPrinter
outputDirβ
string
baseURLβ
string
groupβ
Maybe
<Partial
<Record
<SchemaEntity
, Record
<string
, Maybe
<string
>>>>>
prettifyβ
boolean
docOptionsβ
Maybe
<RendererDocOptions
>
Returnsβ
Defined inβ
packages/core/src/renderer.ts:74
Propertiesβ
baseURLβ
baseURL: string;
Defined inβ
packages/core/src/renderer.ts:68
groupβ
group: Maybe<Partial<Record<SchemaEntity, Record<string, Maybe<string>>>>>;
Defined inβ
packages/core/src/renderer.ts:66
optionsβ
options: Maybe<RendererDocOptions>;
Defined inβ
packages/core/src/renderer.ts:70
outputDirβ
outputDir: string;
Defined inβ
packages/core/src/renderer.ts:67
prettifyβ
prettify: boolean;
Defined inβ
packages/core/src/renderer.ts:69
Methodsβ
generateCategoryMetafile()β
generateCategoryMetafile(
category,
dirPath,
sidebarPosition?,
styleClass?,
options?): Promise<void>
Parametersβ
categoryβ
string
dirPathβ
string
sidebarPosition?β
number
styleClass?β
string
options?β
collapsedβ
boolean
collapsibleβ
boolean
Returnsβ
Promise
<void
>
Defined inβ
packages/core/src/renderer.ts:90
generateCategoryMetafileType()β
generateCategoryMetafileType(
type,
name,
rootTypeName): Promise<string>
Parametersβ
typeβ
unknown
nameβ
string
rootTypeNameβ
SchemaEntity
Returnsβ
Promise
<string
>
Defined inβ
packages/core/src/renderer.ts:125
renderHomepage()β
renderHomepage(homepageLocation): Promise<void>
Parametersβ
homepageLocationβ
string
Returnsβ
Promise
<void
>
Defined inβ
packages/core/src/renderer.ts:270
renderRootTypes()β
renderRootTypes(rootTypeName, type): Promise<Maybe<Maybe<Category>[]>>
Parametersβ
rootTypeNameβ
SchemaEntity
typeβ
unknown
Returnsβ
Promise
<Maybe
<Maybe
<Category
>[]>>
Defined inβ
packages/core/src/renderer.ts:180
renderTypeEntities()β
renderTypeEntities(
dirPath,
name,
type): Promise<Maybe<Category>>
Parametersβ
dirPathβ
string
nameβ
string
typeβ
unknown
Returnsβ
Promise
<Maybe
<Category
>>
Defined inβ
packages/core/src/renderer.ts:214
API_GROUPSβ
const API_GROUPS: Required<ApiGroupOverrideType>;
Defined inβ
packages/core/src/renderer.ts:42
getApiGroupFolder()β
function getApiGroupFolder(type, groups?): string
Parametersβ
typeβ
unknown
groups?β
Maybe
<boolean
| ApiGroupOverrideType
>
Returnsβ
string
Defined inβ
packages/core/src/renderer.ts:47
getRenderer()β
function getRenderer(
printer,
outputDir,
baseURL,
group,
prettify,
docOptions): Promise<Renderer>
Parametersβ
printerβ
typeof IPrinter
outputDirβ
string
baseURLβ
string
groupβ
Maybe
<Partial
<Record
<SchemaEntity
, Record
<string
, Maybe
<string
>>>>>
prettifyβ
boolean
docOptionsβ
Maybe
<RendererDocOptions
>
Returnsβ
Promise
<Renderer
>
Defined inβ
packages/core/src/renderer.ts:288