class Asciidoctor::Extensions::Registry

def docinfo_processor *args, &block

instance of this DocinfoProcessor.
Returns the [Extension] stored in the registry that proxies the

end
end
'footer content'
at_location :footer
process do |doc|
docinfo_processor do
# as a method block

docinfo_processor 'MetaRobotsDocinfoProcessor'
# as a name of a DocinfoProcessor subclass

docinfo_processor JQueryDocinfoProcessor.new, location: :footer
# as an instance of a DocinfoProcessor subclass with an explicit location

docinfo_processor MetaRobotsDocinfoProcessor
# as an DocinfoProcessor subclass

Examples

first argument to this method.
Unless the DocinfoProcessor is passed as the method block, it must be the

* A method block (i.e., Proc) that conforms to the DocinfoProcessor contract
* The String name of a DocinfoProcessor subclass
* An instance of a DocinfoProcessor subclass
* A DocinfoProcessor subclass

The DocinfoProcessor may be one of four types:

add additionnal docinfo to the document.
Public: Registers an {DocinfoProcessor} with the extension registry to
def docinfo_processor *args, &block
  add_document_processor :docinfo_processor, args, &block
end