class Metanorma::Standoc::Converter
schema encapsulation of the document for validation
A {Converter} implementation that generates Standoc output, and a document
def self.inherited(konv) # rubocop:disable Lint/MissingSuper
def self.inherited(konv) # rubocop:disable Lint/MissingSuper konv._file = caller_locations(1..1).first.absolute_path end
def content(node)
def content(node) node.content end
def html_doc_path(file)
def html_doc_path(file) File.join(@libdir, "../../isodoc/html", file) end
def initialize(backend, opts)
def initialize(backend, opts) super basebackend "html" outfilesuffix ".xml" @libdir = File.dirname(self.class::_file || __FILE__) @c = HTMLEntities.new end
def skip(node, name = nil)
def skip(node, name = nil) name = name || node.node_name w = "converter missing for #{name} node in Metanorma backend" @log.add("AsciiDoc Input", node, w) nil end