diff --git a/app/source_url.rb b/app/source_url.rb index 5999edb..40ee20a 100644 --- a/app/source_url.rb +++ b/app/source_url.rb @@ -26,6 +26,6 @@ def source_from_yaml_file # As the last fallback link to the source file in this repository. def source_from_file - "https://github.com/trade-tariff/govuk-developer-docs/blob/main/source/#{current_page.file_descriptor[:relative_path]}" + "https://github.com/trade-tariff/trade-tariff-tech-docs/blob/main/source/#{current_page.file_descriptor[:relative_path]}" end end diff --git a/helpers/commit_helpers.rb b/helpers/commit_helpers.rb index a5f1f70..5cc0cd0 100644 --- a/helpers/commit_helpers.rb +++ b/helpers/commit_helpers.rb @@ -5,7 +5,7 @@ def commit_url(current_page) if current_page.data.latest_commit "https://github.com/trade-tariff/#{current_page.data.repo_name}/commit/#{current_page.data.latest_commit[:sha]}" elsif local_commit(current_page) - "https://github.com/trade-tariff/govuk-developer-docs/commit/#{local_commit(current_page).sha}" + "https://github.com/trade-tariff/trade-tariff-tech-docs/commit/#{local_commit(current_page).sha}" else "#" end diff --git a/source/error.html.erb b/source/error.html.erb index adc322e..4dbca64 100644 --- a/source/error.html.erb +++ b/source/error.html.erb @@ -10,4 +10,4 @@ index: false If you entered a web address, please check it was correct. If the page you are looking for has been moved, you should -set up a redirect. +set up a redirect. diff --git a/source/index.html.erb b/source/index.html.erb index bd1df84..ffa41b8 100644 --- a/source/index.html.erb +++ b/source/index.html.erb @@ -1,7 +1,7 @@ --- layout: core title: Dashboard -source_url: https://github.com/trade-tariff/govuk-developer-docs/blob/main/data/dashboard.yml +source_url: https://github.com/trade-tariff/trade-tariff-tech-docs/blob/main/data/dashboard.yml --- <% content_for :sidebar do %> diff --git a/source/manual/dictionary.html.erb b/source/manual/dictionary.html.erb index 5385910..8e8f419 100644 --- a/source/manual/dictionary.html.erb +++ b/source/manual/dictionary.html.erb @@ -4,7 +4,7 @@ parent: /manual.html layout: false section: Learning OTT type: learn -source_url: https://github.com/trade-tariff/govuk-developer-docs/blob/main/data/dictionary.yml +source_url: https://github.com/trade-tariff/trade-tariff-tech-docs/blob/main/data/dictionary.yml --- <% content_for :sidebar do %> diff --git a/source/manual/setting-up-new-rails-app.html.md b/source/manual/setting-up-new-rails-app.html.md index 34e3e21..e9b7a6a 100644 --- a/source/manual/setting-up-new-rails-app.html.md +++ b/source/manual/setting-up-new-rails-app.html.md @@ -7,7 +7,7 @@ parent: "/manual.html" --- [mit-license]: https://en.wikipedia.org/wiki/MIT_License -[docs-applications]: https://github.com/trade-tariff/govuk-developer-docs/blob/main/data/repos.yml +[docs-applications]: https://github.com/trade-tariff/trade-tariff-tech-docs/blob/main/data/repos.yml [get-started]: /manual/get-started.html [linting]: /manual/configure-linting.html [rails-conv]: /manual/conventions-for-rails-applications.html diff --git a/source/templates/repo_template.html.md.erb b/source/templates/repo_template.html.md.erb index 8638df4..7c78661 100644 --- a/source/templates/repo_template.html.md.erb +++ b/source/templates/repo_template.html.md.erb @@ -1,7 +1,7 @@ --- layout: repo_layout parent: /apps.html -source_url: https://github.com/trade-tariff/govuk-developer-docs/blob/main/data/repos.yml +source_url: https://github.com/trade-tariff/trade-tariff-tech-docs/blob/main/data/repos.yml --- <% if repo.retired? %> diff --git a/spec/app/source_url_spec.rb b/spec/app/source_url_spec.rb index b59657c..9afc6a2 100644 --- a/spec/app/source_url_spec.rb +++ b/spec/app/source_url_spec.rb @@ -23,7 +23,7 @@ source_url = SourceUrl.new({}, current_page).source_url - expect(source_url).to eql("https://github.com/trade-tariff/govuk-developer-docs/blob/main/source/foo.html.md") + expect(source_url).to eql("https://github.com/trade-tariff/trade-tariff-tech-docs/blob/main/source/foo.html.md") end end end diff --git a/spec/helpers/commit_helpers_spec.rb b/spec/helpers/commit_helpers_spec.rb index ed273ff..bd5e881 100644 --- a/spec/helpers/commit_helpers_spec.rb +++ b/spec/helpers/commit_helpers_spec.rb @@ -29,7 +29,7 @@ file_descriptor: OpenStruct.new(relative_path: source_file), ) expect(helper.commit_url(current_page)).to match( - /https:\/\/github.com\/trade-tariff\/govuk-developer-docs\/commit\/[0-9a-f]{40}$/, + /https:\/\/github.com\/trade-tariff\/trade-tariff-tech-docs\/commit\/[0-9a-f]{40}$/, ) end