You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added a temporary fix, for now, it will silently ignore loading issue for this private gems. in the future, we also consider having those as configuration block.
What did you mean by "configuration block"? I think we need a good way of loading private gems. Right now, we load them by inferring on the document flavor in the command line / file attribute:
e.g.
Command line metanorma -t {private-type} document.adoc
In document: :mn-document-type: {private-type}
Then metanorma-cli will automatically load the gem metanorma-{private-type}.
The text was updated successfully, but these errors were encountered:
I was thinking to have some interface that will allow a user to add their custom backend, more likely metanorma backends add [backend name]. That way we can only focus on the public backends and if anyone wants to add their own backend / private backend then they can do so.
Good idea. This goes back to our previous discussion of adding template repositories, needing a global metanorma config. This is also necessary for document repositories.
However the word “backend” may be a bit confusing. “Processor” sounds better.
That said “metanorma -t my-private-type blah.adoc” works equally well.
ronaldtse
changed the title
Private gems in a configuration block?
Configure private metanorma repositories
Sep 19, 2019
From @abunashir:
Originally posted by @abunashir in #104 (comment)
What did you mean by "configuration block"? I think we need a good way of loading private gems. Right now, we load them by inferring on the document flavor in the command line / file attribute:
e.g.
Command line
metanorma -t {private-type} document.adoc
In document:
:mn-document-type: {private-type}
Then metanorma-cli will automatically load the gem
metanorma-{private-type}
.The text was updated successfully, but these errors were encountered: