From c236d415daecf587f7f0bab17565d442db2c6170 Mon Sep 17 00:00:00 2001 From: AJAY JAGANATHAN Date: Wed, 9 Oct 2024 21:32:18 +0530 Subject: [PATCH] Add an alert to point users to the correct relese notes. --- src/templates/docs-page.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/templates/docs-page.tsx b/src/templates/docs-page.tsx index e7989755950..eaf9d4f3847 100644 --- a/src/templates/docs-page.tsx +++ b/src/templates/docs-page.tsx @@ -3,7 +3,7 @@ import * as React from "react"; import { Footer, Layout, Seo, SideNavigation } from "../components/shared"; import { DOCS_NAVIGATION } from "../const"; -import { PageSection, Title } from "@patternfly/react-core"; +import { PageSection, Title, Alert } from "@patternfly/react-core"; import { AsciiDocSection } from "../types"; const DocsPageTemplate = ({ @@ -41,6 +41,12 @@ const DocsPageTemplate = ({ isWidthLimited padding={{ default: "padding" }} > + +

+ Please note that more information about the previous v2 releases can be found here. + You can use "Find a release" search bar to search for a particular release. +

+
{asciidoc?.document?.title ?? markdownRemark?.frontmatter?.title}