By default, clicking "Report issue" in the contribution banner at the
bottom of the page (if turned on) will link the user to creating an
issue in the docs' GitHub repo. Some end-users of the tech-docs gem may
instead want to link to a page containing a form or allow the user to send an email.
By default, clicking "Report issue" in the contribution banner at the bottom of the page (if turned on) will link the user to creating an issue in the docs' GitHub repo. Some end-users of the tech-docs gem may instead want to link to a page containing a form or allow the user to send an email.
End-users can achieve this by adding
to their
config/tech-docs.yml
file.I've added tests for this behaviour in
spec/govuk_tech_docs/source_urls_spec.rb
.