Sha256: dd7eecabddcd7d4346160d19dab92e27f008baa0fa09dc0247deb67224e72ef7

Contents?: true

Size: 637 Bytes

Versions: 44

Compression:

Stored size: 637 Bytes

Contents

require "pact/doc/generator"
require "pact/doc/markdown/consumer_contract_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,
            consumer_contract_renderer: ConsumerContractRenderer,
            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

44 entries across 44 versions & 1 rubygems

Version Path
pact_broker-2.96.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.95.1 lib/pact/doc/markdown/generator.rb
pact_broker-2.95.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.94.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.93.4 lib/pact/doc/markdown/generator.rb
pact_broker-2.93.3 lib/pact/doc/markdown/generator.rb
pact_broker-2.93.2 lib/pact/doc/markdown/generator.rb
pact_broker-2.93.1 lib/pact/doc/markdown/generator.rb
pact_broker-2.93.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.92.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.91.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.90.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.89.1 lib/pact/doc/markdown/generator.rb
pact_broker-2.89.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.88.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.87.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.86.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.85.1 lib/pact/doc/markdown/generator.rb
pact_broker-2.85.0 lib/pact/doc/markdown/generator.rb
pact_broker-2.84.0 lib/pact/doc/markdown/generator.rb