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,