@ng-doc/core
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>
23 lines (22 loc) • 497 B
TypeScript
import { Route } from '@angular/router';
/**
* Base interface for the NgDoc file entity
*/
export interface NgDocBaseEntity {
/**
* The entity title
*/
title: string;
/**
* The route of the entity (current sourceFileFolder name by default)
*/
route?: string | Route;
/**
* Order is using for sorting entities in the sidebar
*/
order?: number;
/**
* If `true` the page will be hidden from the sidebar
*/
hidden?: boolean;
}