Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content restructure #119

Merged
merged 3 commits into from
Aug 12, 2024
Merged

Content restructure #119

merged 3 commits into from
Aug 12, 2024

Conversation

soggy-mushroom
Copy link
Contributor

This will ensure that additional meca path is present in the parsed output at the top level.

…ciences/data-hub-issues#959]

The `content` array's structure in `docmap-parser.ts` and its tests have been simplified to store URLs directly as strings, rather than objects with a `url` property. This is reflected in the changes to the `Content` type, and the related modifications in the code and tests that handle the `content` array.
…s#959]

This commit updates the docmap-parser to extract a content array from an
expression. A test has been added to verify this functionality. It also
updates a test-fixture to reflect these changes.
@soggy-mushroom soggy-mushroom merged commit 5495998 into main Aug 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants