From 9379d3c43ee5be916ade39da4733118f0e6e75c4 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Thu, 8 Feb 2024 10:55:16 -0500 Subject: [PATCH] docs: make current docs version message dynamic --- packages/docs/src/pages/releases.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/pages/releases.tsx b/packages/docs/src/pages/releases.tsx index e51db6e7..25c59f69 100644 --- a/packages/docs/src/pages/releases.tsx +++ b/packages/docs/src/pages/releases.tsx @@ -145,8 +145,14 @@ const Releases = ({ docsGroups, searchablePages }: DocsMenuProps) => { Note - The current docs are for Static CMS v3. For Static CMS v2, see  - https://v2.staticcms.org. + + The current docs are for Static CMS v{latestMajorVersionNumber}. For Static CMS v + {latestMajorVersionNumber - 1}, see  + + + https://v{latestMajorVersionNumber - 1}.staticcms.org + + .