Skip to content

Commit

Permalink
Add noindex for archived version
Browse files Browse the repository at this point in the history
  • Loading branch information
HLeithner committed Nov 19, 2024
1 parent 04da78a commit 9e8b314
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'], */
Expand Down

0 comments on commit 9e8b314

Please sign in to comment.