Public: DocinfoProcessors are used to add additional content to the header and/or footer of the generated document.
The placement of docinfo content is controlled by the converter.
DocinfoProcessors implementations must extend DocinfoProcessor. If a location is not specified, the DocinfoProcessor is assumed to add content to the header.
# File lib/asciidoctor/extensions.rb, line 487 def initialize config = {} super config @config[:location] ||= :head end
# File lib/asciidoctor/extensions.rb, line 492 def process document raise ::NotImplementedError, %Q(#{DocinfoProcessor} subclass #{self.class} must implement the ##{__method__} method) end