From cb0bcb26f6f93b906fb373726c04e110cbba93e3 Mon Sep 17 00:00:00 2001 From: Killian Delarue Date: Mon, 3 Feb 2025 18:11:00 +0100 Subject: [PATCH 1/3] Scripts, Releases: Also push [style.css] to Release page bucket --- scripts/ci/release_page_publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/release_page_publish.sh b/scripts/ci/release_page_publish.sh index fac162194a46..35b85b168f7b 100755 --- a/scripts/ci/release_page_publish.sh +++ b/scripts/ci/release_page_publish.sh @@ -67,7 +67,7 @@ pandoc index.md -s --template="./docs/release_page/template.html" --metadata tit echo "Syncing files to remote s3 bucket" -if aws s3 cp "./index.html" "s3://${S3_BUCKET}/" --region "${REGION}" && aws s3 cp "./$Releases_list" "s3://${S3_BUCKET}/" --region "${REGION}"; then +if aws s3 cp "./docs/release_page/style.css" "s3://${S3_BUCKET}/" --region "${REGION}" && aws s3 cp "./index.html" "s3://${S3_BUCKET}/" --region "${REGION}" && aws s3 cp "./$Releases_list" "s3://${S3_BUCKET}/" --region "${REGION}"; then echo "Deployment successful!" else echo "Deployment failed. Please check the configuration and try again." -- GitLab From 0a650cc14b6ac799a6e82053365d837ee414ec0c Mon Sep 17 00:00:00 2001 From: Killian Delarue Date: Mon, 3 Feb 2025 13:18:30 +0100 Subject: [PATCH 2/3] Scripts, Releases: Fix release page [Static Binary] section level --- scripts/ci/release_page_publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/release_page_publish.sh b/scripts/ci/release_page_publish.sh index 35b85b168f7b..83ee7bd99e63 100755 --- a/scripts/ci/release_page_publish.sh +++ b/scripts/ci/release_page_publish.sh @@ -51,7 +51,7 @@ echo "# Octez Releases" >> index.md # Define the content of the release page tac "$Releases_list" | while IFS= read -r release; do echo "## $release" >> index.md - echo "## Static binaries" >> index.md + echo "### Static binaries" >> index.md for arch in x86_64 arm64; do echo "#### $arch" >> index.md -- GitLab From 4295c2a99f9f2a644f6b0077efc934dd550edfbb Mon Sep 17 00:00:00 2001 From: Killian Delarue Date: Mon, 3 Feb 2025 15:10:16 +0100 Subject: [PATCH 3/3] Docs, Releases: Change the release page headers color --- docs/release_page/style.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/release_page/style.css b/docs/release_page/style.css index fb01fa04873e..7987f9a49509 100644 --- a/docs/release_page/style.css +++ b/docs/release_page/style.css @@ -9,13 +9,29 @@ body { } /* Header Styles */ +h1 { + color: #1D2227; +} + h2 { - color: #4CAF50; + color: #0F61FF; border-bottom: 2px solid #ddd; padding-bottom: 5px; margin-top: 20px; } +h3 { + color: #9F329F; + padding-bottom: 5px; + margin-top: 20px; +} + +h4 { + color: #1D2227; + padding-bottom: 5px; + margin-top: 20px; +} + /* Unordered List Styles */ ul { list-style-type: square; -- GitLab