Sha256: 7c6e4189d0fcc90f84467caa2c3b7033e78f8a0d0f2889b688b2558f81a01ba9

Contents?: true

Size: 624 Bytes

Versions: 4

Compression:

Stored size: 624 Bytes

Contents

require 'pact/doc/generator'
require 'pact/doc/markdown/interactions_renderer'
require 'pact/doc/markdown/index_renderer'

module Pact
  module Doc
    module Markdown
      class Generator < Pact::Doc::Generator

        def initialize pact_dir, doc_dir
          super(pact_dir, doc_dir,
            interactions_renderer: InteractionsRenderer,
            doc_type: 'markdown',
            file_extension: '.md',
            index_renderer: IndexRenderer,
            index_name: 'README')
        end

        def self.call pact_dir, doc_dir
          new(pact_dir, doc_dir).call
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pact-1.1.0 lib/pact/doc/markdown/generator.rb
pact-1.1.0.rc5 lib/pact/doc/markdown/generator.rb
pact-1.1.0.rc4 lib/pact/doc/markdown/generator.rb
pact-1.1.0.rc3 lib/pact/doc/markdown/generator.rb