lib/asciidoctor/csd/converter.rb in asciidoctor-csd-0.4.5 vs lib/asciidoctor/csd/converter.rb in asciidoctor-csd-0.4.6
- old
+ new
@@ -11,9 +11,14 @@
# schema encapsulation of the document for validation
class Converter < ISO::Converter
register_for "csd"
+ def initialize(backend, opts)
+ super
+ warn "The asciidoctor-csd gem has been deprecated and has been replaced by metanorma-csd"
+ end
+
def metadata_author(node, xml)
xml.contributor do |c|
c.role **{ type: "author" }
c.organization do |a|
a.name "CalConnect"