-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add related content to manuscript (#46)
* feat: add related content to manuscript This commit includes changes to support adding related content to the manuscript. It introduces a new type 'Complement' and updates the 'generateManuscript' function to include an optional 'complement' parameter. The 'docmap-parser' is updated to parse 'relatedContent' and the tests are updated to cover these changes. * feat: Replace Complement with Insight in docmap This commit replaces the Complement type with Insight in the docmap. It updates the generateManuscript function to use the new Insight type and modifies related tests. Also, this commit adds the generateInsight function and makes changes to the RelatedContentItem and the Manuscript types. * feat: Update type definitions in docmap.ts This commit adds optional 'title', 'description' and 'thumbnail' fields to the Manuscript type. It also removes 'title', 'url', 'description', and 'thumbnail' from the Insight type.
- Loading branch information
Showing
5 changed files
with
55 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters