@ng-doc/builder
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
15 lines (14 loc) • 432 B
TypeScript
import { NgDocPageType } from '@ng-doc/core';
import { NgDocPageIndex } from '@ng-doc/core/interfaces';
export interface NgDocIndexBuilderConfig {
title: string;
content: string;
breadcrumbs: string[];
pageType: NgDocPageType;
route: string;
}
/**
* Builds the indexes for a given content
* @param config
*/
export declare function buildIndexes(config: NgDocIndexBuilderConfig): Promise<NgDocPageIndex[]>;