upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
Showing only changes of commit 717fe4aee3 - Show all commits

View File

@ -54,7 +54,7 @@ const computedFields: ComputedFields = {
type: 'string', type: 'string',
resolve: (doc) => doc._raw.sourceFilePath, resolve: (doc) => doc._raw.sourceFilePath,
}, },
toc: { type: 'string', resolve: (doc) => extractTocHeadings(doc.body.raw) }, toc: { type: 'json', resolve: (doc) => extractTocHeadings(doc.body.raw) },
} }
/** /**