diff --git a/lib/pact/doc/markdown/consumer_contract_renderer.rb b/lib/pact/doc/markdown/consumer_contract_renderer.rb index d344c2879..48e269ebf 100644 --- a/lib/pact/doc/markdown/consumer_contract_renderer.rb +++ b/lib/pact/doc/markdown/consumer_contract_renderer.rb @@ -24,7 +24,7 @@ def call attr_reader :consumer_contract def title - "### A pact between #{consumer_name} and #{provider_name}\n\n" + "# A pact between #{consumer_name} and #{provider_name}\n\n" end def interaction_renderers @@ -32,11 +32,11 @@ def interaction_renderers end def summaries_title - "#### Requests from #{consumer_name} to #{provider_name}\n\n" + "### Requests from #{consumer_name} to #{provider_name}\n\n" end def interactions_title - "#### Interactions\n\n" + "### Interactions\n\n" end def summaries diff --git a/lib/pact_broker/api/pact_broker_urls.rb b/lib/pact_broker/api/pact_broker_urls.rb index 3a06f4567..09221e2c5 100644 --- a/lib/pact_broker/api/pact_broker_urls.rb +++ b/lib/pact_broker/api/pact_broker_urls.rb @@ -311,7 +311,7 @@ def matrix_url_from_params params, base_url = "" end def group_url(pacticipant_name, base_url = "") - "#{base_url}/groups/#{url_encode(pacticipant_name)}" + "#{base_url}/pacticipants/#{url_encode(pacticipant_name)}" end def environments_url(base_url = "") diff --git a/lib/pact_broker/api/renderers/html_pact_renderer.rb b/lib/pact_broker/api/renderers/html_pact_renderer.rb index 5bfb0f71a..6d8607cee 100644 --- a/lib/pact_broker/api/renderers/html_pact_renderer.rb +++ b/lib/pact_broker/api/renderers/html_pact_renderer.rb @@ -29,7 +29,7 @@ def call " #{head} - #{pact_metadata}#{html} + #{breadcrumbs}#{pact_metadata}#{html} " end @@ -39,10 +39,10 @@ def call def head "#{title} - + @@ -53,6 +53,17 @@ def head " end + def breadcrumbs + " + + " + end + def pact_metadata "