Skip to content

Commit

Permalink
πŸ‘©β€πŸ”¬ Remove author contrib id
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Oct 13, 2023
1 parent 43d221d commit ab35a5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/metal-pans-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'myst-to-jats': patch
---

Remove contrib id, authors cannot be referenced.
1 change: 0 additions & 1 deletion packages/myst-to-jats/src/frontmatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ export function getArticleAuthors(frontmatter: ProjectFrontmatter): Element[] {
const attributes: Record<string, any> = {};
const elements: Element[] = [];
if (type) attributes['contrib-type'] = type;
if (author.id) attributes.id = author.id;
if (author.corresponding) attributes.corresp = 'yes';
if (author.deceased) attributes['deceased'] = 'yes';
if (author.equal_contributor != null) {
Expand Down

0 comments on commit ab35a5b

Please sign in to comment.