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

use a single instance of relaton-render (bibrender variable), so that… #564

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

opoudjis
Copy link
Contributor

@opoudjis opoudjis commented Mar 6, 2024

… URI fetches are cached between classes of isodoc; store authoritative identifiers retrieved from relaton-render in Presentation XML as docidentifier[scope = 'biblio-tag']: metanorma/metanorma-iso#1114

Metanorma PR checklist

… URI fetches are cached between classes of isodoc; store authoritative identifiers retrieved from relaton-render in Presentation XML as docidentifier[scope = 'biblio-tag']: metanorma/metanorma-iso#1114
@opoudjis opoudjis self-assigned this Mar 6, 2024
ret = pref_ref_code_parse(bib) or return nil
ins = bib.at(ns("./docidentifier[last()]"))
ret.reverse.each do |r|
ins.next = "<docidentifier scope='biblio-tag'>#{docid_l10n(r)}</docidentifier>"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [89/80]

@xrefs.klass.bibrenderer.render_all("<references>#{refs}</references>",
type: citestyle)
@bibrender.render_all("<references>#{refs}</references>",
type: citestyle)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Align the arguments of a method call if they span more than one line.

@opoudjis opoudjis merged commit f3d565f into main Mar 6, 2024
14 of 18 checks passed
@opoudjis opoudjis deleted the fix/bibrender-cache branch March 6, 2024 14:41
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.

1 participant