Skip to content

Commit cb8d631

Browse files
authored
fix(dgeni): incorrect generation of design ToC (#3411)
1 parent 4f2eaca commit cb8d631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/dgeni/src/transforms/daffodil-guides-package/reader/guide-file.reader.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function designGuideFileReaderFactory() {
5050
// check if the doc is a package readme, ignore the root readme though
5151
docType: fileInfo.relativePath.split('/').slice(1).includes('README.md') ? 'package-guide' : 'guide',
5252
title: extractTitle(fileInfo),
53-
tableOfContents: toc(fileInfo.content),
53+
tableOfContents: toc(fileInfo.content).json,
5454
content: fileInfo.content,
5555
}]
5656
: [],

0 commit comments

Comments
 (0)