From 9e8b3143c49eb750c8d90e8204cc1c9c5f569f8d Mon Sep 17 00:00:00 2001 From: Harald Leithner Date: Tue, 19 Nov 2024 09:16:58 +0100 Subject: [PATCH] Add noindex for archived version --- docusaurus.config.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 92a6a8bf..61b7487f 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -89,22 +89,27 @@ const config = { versions: { 'current': { label: '5.3 (Upcoming)', - banner: 'unreleased' + banner: 'unreleased', + noIndex: false, }, '5.2': { label: '5.2 (Current)', + noIndex: false, }, '5.1': { label: '5.1 (Archived)', - banner: 'unmaintained' + banner: 'unmaintained', + noIndex: true, }, '5.0': { label: '5.0 (Archived)', - banner: 'unmaintained' + banner: 'unmaintained', + noIndex: true, }, '4.4': { label: '4.4 (Security)', - banner: 'none' + banner: 'none', + noIndex: false, }, }, /* onlyIncludeVersions: ['current', '5.2', '4.4'], */