Generalize api-docs components to accommodate faq

Also add chunk of faq content.
This commit is contained in:
hunicus
2022-03-26 09:09:37 -04:00
parent b8ac5620a0
commit 8d02aae69d
7 changed files with 225 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
<div *ngFor="let item of restDocs">
<div *ngFor="let item of tabData">
<p *ngIf="( item.type === 'category' ) && ( item.showConditions.indexOf(network.val) > -1 )">{{ item.title }}</p>
<a *ngIf="( item.type !== 'category' ) && ( item.showConditions.indexOf(network.val) > -1 )" [routerLink]="['./']" fragment="{{ item.fragment }}" (click)="navLinkClick($event)">{{ item.title }}</a>
</div>