lib/isodoc/vsd/metadata.rb in metanorma-vsd-0.5.10 vs lib/isodoc/vsd/metadata.rb in metanorma-vsd-1.0.0

- old
+ new

@@ -1,23 +1,11 @@ require "isodoc" module IsoDoc module Vsd - class Metadata < IsoDoc::Metadata - def initialize(lang, script, labels) - super - here = File.dirname(__FILE__) - set(:logo, - File.expand_path(File.join(here, "html", "logo.png"))) + class Metadata < IsoDoc::Acme::Metadata + def configuration + Metanorma::Vsd.configuration end - - def security(isoxml, _out) - keywords = [] - isoxml.xpath(ns("//bibdata/keyword")).each do |kw| - keywords << kw.text - end - set(:keywords, keywords) - end - end end end