From 9377721b61f4684ccbfffb1bd3983606dfa1a77e Mon Sep 17 00:00:00 2001 From: Sunil Singh Date: Tue, 11 Feb 2025 15:26:14 -0800 Subject: [PATCH] Adding code comments. Signed-off-by: Sunil Singh --- src/theme/DocVersionBanner/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/theme/DocVersionBanner/index.js b/src/theme/DocVersionBanner/index.js index 79eddf6f9ba..2a2f43ff795 100644 --- a/src/theme/DocVersionBanner/index.js +++ b/src/theme/DocVersionBanner/index.js @@ -28,6 +28,7 @@ function UnreleasedVersionLabel({siteTitle, versionMetadata}) { ); } function UnmaintainedVersionLabel({siteTitle, versionMetadata}) { + // Start of custom unmaintained archived version label. The purpose of this custom addition is to display a banner for docs versions that are scheduled for archiving. if (versionMetadata.className === "toArchive") { return ( ); } + // End of custom unmaintained archived version label. } const BannerLabelComponents = { unreleased: UnreleasedVersionLabel,