From 86330c088cc2bce717a6018d43637d832f1b5331 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Sun, 1 Mar 2026 10:43:49 +0100 Subject: [PATCH] add version banner --- config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.js b/config.js index fe9d301a74..66d8b105e7 100644 --- a/config.js +++ b/config.js @@ -41,6 +41,11 @@ export default { { text: "Documentation", link: "/" }, { ...versions }, ], + versionBanner: { + message: 'This version of the documentation is for CakePHP 2.x.', + link: '/latest/', + linkText: 'Go to latest docs.' + } }, substitutions: { '|phpversion|': { value: '5.x', format: 'bold' },