From 8b515b3883b52cfbec532af79475d470b0b35d85 Mon Sep 17 00:00:00 2001 From: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com> Date: Fri, 6 Sep 2024 12:54:54 -0700 Subject: [PATCH 1/2] Align OWNERS to `master` branch Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com> --- OWNERS | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/OWNERS b/OWNERS index 3510795d53..dad6adc133 100644 --- a/OWNERS +++ b/OWNERS @@ -1,27 +1,7 @@ approvers: - - abhi-g - - aronchick - - ewilderj - - jlewi - - kunmingg - - lluunn - - nickchase - - pdmack - - richardsliu - - sarahmaddox - - texasmichelle - - willingc -reviewers: - - abhi-g - - aronchick - - ewilderj - - inc0 - - jlewi - - kunmingg - - lluunn - - nickchase - - pdmack - - richardsliu - - sarahmaddox - - texasmichelle - - willingc + - andreyvelich + - james-jwu + - jbottum + - johnugeorge + - terrytangyuan + - zijianjoy \ No newline at end of file From fdef53d36da43ce152eecb90ac2ee9b090642788 Mon Sep 17 00:00:00 2001 From: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com> Date: Fri, 6 Sep 2024 12:55:20 -0700 Subject: [PATCH 2/2] Improve archived_version banner Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com> --- .../kf/layouts/partials/version-banner.html | 53 +++++++++++-------- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/themes/kf/layouts/partials/version-banner.html b/themes/kf/layouts/partials/version-banner.html index 14cba63a4b..641e73fdc8 100644 --- a/themes/kf/layouts/partials/version-banner.html +++ b/themes/kf/layouts/partials/version-banner.html @@ -1,22 +1,33 @@ - -{{ if .Site.Params.archived_version }} - {{ $latest := .Site.Params.url_latest_version }} -
Version {{ . | markdownify }} of the - documentation is no longer actively maintained. The site that you are - currently viewing is an archived snapshot. For up-to-date documentation, - see the - latest version.
- {{ end }} + +{{- $latest_version_url := .Site.Params.url_latest_version }} +{{- $current_version := replace .Site.Params.version "v" "" | markdownify }} +{{- if .Site.Params.archived_version }} + + -{{ end }} +{{- end }} \ No newline at end of file