From 1c9ea0607f4b07b5186be3d6b031720e0c4e856a Mon Sep 17 00:00:00 2001 From: Kenny Date: Fri, 1 Dec 2023 04:02:22 +0100 Subject: [PATCH] 506 versioning improvements (#519) * doc: update siteTitle variable to teku version label * docs: remove line break * feat: replace docVersionBadge with custom component * Update src/theme/DocVersionBadge/index.js * Update src/theme/DocVersionBadge/index.js --------- Co-authored-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> --- src/theme/DocVersionBadge/index.js | 3 +++ src/theme/DocVersionBanner/index.jsx | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 src/theme/DocVersionBadge/index.js diff --git a/src/theme/DocVersionBadge/index.js b/src/theme/DocVersionBadge/index.js new file mode 100644 index 000000000..2cd5a09ec --- /dev/null +++ b/src/theme/DocVersionBadge/index.js @@ -0,0 +1,3 @@ +export default function DocVersionBadge({ className }) { + return null; +} diff --git a/src/theme/DocVersionBanner/index.jsx b/src/theme/DocVersionBanner/index.jsx index cca5ffa50..120b11414 100644 --- a/src/theme/DocVersionBanner/index.jsx +++ b/src/theme/DocVersionBanner/index.jsx @@ -37,7 +37,7 @@ function UnmaintainedVersionLabel({ siteTitle, versionMetadata }) { versionLabel: {versionMetadata.label}, }}> { - "This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained." + "This is documentation for Teku version {versionLabel}, which is no longer actively maintained." } ); @@ -98,8 +98,6 @@ function DocVersionBannerEnabled({ className, versionMetadata }) { role="alert">
-
-