From 39a752aaca565c3d05ddbfd6afa5b36d10429dde Mon Sep 17 00:00:00 2001 From: Benji Glitsos Date: Thu, 22 Feb 2024 18:42:37 +1100 Subject: [PATCH 1/2] Capitalised the other links in the deploy/PR banner --- docs/_modules/deploy_banner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_modules/deploy_banner.py b/docs/_modules/deploy_banner.py index 812e85592..e04c54d0e 100644 --- a/docs/_modules/deploy_banner.py +++ b/docs/_modules/deploy_banner.py @@ -11,9 +11,9 @@ def banner(): github_url = "https://github.com/GeoscienceAustralia/dea-docs" deploy_logs_url = "https://app.netlify.com/sites/dea-docs/deploys" - pull_request_banner = f'You are viewing {deploy_name} #{review_id}, not the official DEA Knowledge Hub. View the deploy log or the pull request.' + pull_request_banner = f'You are viewing {deploy_name} #{review_id}, not the official DEA Knowledge Hub. View the Deploy log or the Pull request.' - demo_banner = f'You are viewing {deploy_name}, not the official DEA Knowledge Hub. View the deploy logs or the git branch.' + demo_banner = f'You are viewing {deploy_name}, not the official DEA Knowledge Hub. View the Deploy logs or the Git branch.' if pull_request == "true": return pull_request_banner From 537cd13820f19f5c05cb191743054705ac1733d7 Mon Sep 17 00:00:00 2001 From: Benji Glitsos Date: Thu, 22 Feb 2024 18:56:22 +1100 Subject: [PATCH 2/2] Removed one word --- docs/_modules/deploy_banner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_modules/deploy_banner.py b/docs/_modules/deploy_banner.py index e04c54d0e..d1d9f6979 100644 --- a/docs/_modules/deploy_banner.py +++ b/docs/_modules/deploy_banner.py @@ -11,9 +11,9 @@ def banner(): github_url = "https://github.com/GeoscienceAustralia/dea-docs" deploy_logs_url = "https://app.netlify.com/sites/dea-docs/deploys" - pull_request_banner = f'You are viewing {deploy_name} #{review_id}, not the official DEA Knowledge Hub. View the Deploy log or the Pull request.' + pull_request_banner = f'You are viewing {deploy_name} #{review_id}, not the official DEA Knowledge Hub. View the Deploy log or Pull request.' - demo_banner = f'You are viewing {deploy_name}, not the official DEA Knowledge Hub. View the Deploy logs or the Git branch.' + demo_banner = f'You are viewing {deploy_name}, not the official DEA Knowledge Hub. View the Deploy logs or Git branch.' if pull_request == "true": return pull_request_banner