docs(nxdev): take into account custom description (#13987)
This commit is contained in:
parent
66ad0469fe
commit
c69e99f6f4
@ -24,13 +24,14 @@ export interface FileMetadata {
|
|||||||
export interface PackageData {
|
export interface PackageData {
|
||||||
description: string;
|
description: string;
|
||||||
documents: {
|
documents: {
|
||||||
tags: string[];
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
itemList: any[];
|
|
||||||
content: string;
|
content: string;
|
||||||
|
description: string;
|
||||||
file: string;
|
file: string;
|
||||||
|
id: string;
|
||||||
|
itemList: any[];
|
||||||
|
name: string;
|
||||||
path: string;
|
path: string;
|
||||||
|
tags: string[];
|
||||||
}[];
|
}[];
|
||||||
executors: SchemaMetadata[];
|
executors: SchemaMetadata[];
|
||||||
generators: SchemaMetadata[];
|
generators: SchemaMetadata[];
|
||||||
|
|||||||
@ -66,7 +66,7 @@ export function generatePackageSchemas(): Promise<void[]> {
|
|||||||
description: p.description,
|
description: p.description,
|
||||||
documents: p.documents.map((d) => ({
|
documents: p.documents.map((d) => ({
|
||||||
...createDocumentMetadata({
|
...createDocumentMetadata({
|
||||||
description: p.description,
|
description: d.description || p.description,
|
||||||
file: ['generated', 'packages', p.name, 'documents', d.id].join('/'),
|
file: ['generated', 'packages', p.name, 'documents', d.id].join('/'),
|
||||||
id: d.id,
|
id: d.id,
|
||||||
itemList: d.itemList,
|
itemList: d.itemList,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user