Skip to content

Commit

Permalink
Resolves #651 Add built-in man page backend
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGamba committed Mar 7, 2015
1 parent 4d00e28 commit 7bddc41
Show file tree
Hide file tree
Showing 3 changed files with 714 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/asciidoctor/converter/factory.rb
Expand Up @@ -207,6 +207,11 @@ def create backend, opts = {}
require 'asciidoctor/converter/docbook45'.to_s
end
DocBook45Converter.new backend, opts
when 'manpage'
unless defined? ::Asciidoctor::Converter::ManPageConverter
require 'asciidoctor/converter/manpage'.to_s
end
ManPageConverter.new backend, opts
end

return base_converter unless opts.key? :template_dirs
Expand Down

0 comments on commit 7bddc41

Please sign in to comment.