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

Create a new release for #452 #457

Open
ribose-jeffreylau opened this issue Mar 6, 2025 · 0 comments
Open

Create a new release for #452 #457

ribose-jeffreylau opened this issue Mar 6, 2025 · 0 comments
Assignees

Comments

@ribose-jeffreylau
Copy link
Contributor

@opoudjis We'd like to use the new feature provided by (the resolution to) #452. Please create a new metanorma release when you see fit. Thank you. Here is the change log:

changelog

  • Added new output filename templating system:
    • Uses Liquid template engine for generating output filenames. All output artifacts will follow this template as the base name.
    • Output filename template can be specified via options[:output_filename_template]
    • Default template: {{ document.docidentifier | downcase | replace: '/' , '-' | replace: ' ' , '-' }}
    • Access Relaton metadata through document object:
      • document.docidentifier: Document identifier
      • document.title: Document title
      • document.date: Document date
      • document.language: Document language
      • document.script: Document script
      • document.version: Document version
      • document.publisher: Document publisher
    • Example templates:
      • With version: {{ document.docidentifier }}_{{ document.version }}
      • With language: {{ document.docidentifier | downcase }}_{{ document.language }}
      • With conditional: {% if document.doctype == 'international-standard' %}iso-{% endif %}{{ document.docnumber }}
  • Aligned rubocop's Ruby version requirement with gemspec's, to 3.1
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

No branches or pull requests

2 participants