Repository: chartjs/Chart.js
File: docs/.vuepress/config.js (JavaScript)

Code before:
    ['redirect', {
      redirectors: [
        // Default sample page when accessing /samples.
        {base: '/samples', alternative: ['information']},
      ],
    }],
    ['vuepress-plugin-code-copy', true],
    [
      'vuepress-plugin-typedoc',
      {
        entryPoints: ['../../types/index.esm.d.ts'],
        hideInPageTOC: true,
        tsconfig: 'tsconfig.json',
        sidebar: {
          fullNames: true,
          parentCategory: 'API',
        },
      },
    ],
    ['@simonbrunel/vuepress-plugin-versions', {
      filters: {
        suffix: (tag) => tag ? ` (${tag})` : '',
        title: (v, vars) => {
          return window.location.href.includes('master') ? 'Development version' :
                 window.location.href.includes('latest') ? 'Latest version' :
                 v + (vars.tag ? ` (${tag})` : '') + ' (consider checking the latest version)';
        },
      },
      menu: {
        text: '{{version|title}}',
        items: [
          {
            text: 'Documentation',
            items: [
              {
                text: 'Development version',
                link: '/docs/master/',
              },
              {
                text: 'Latest version',
                link: '/docs/latest/',
              },
              {
                type: 'versions',
                text: '{{version}}{{tag|suffix}}',
                link: '/docs/{{version}}/',
                exclude: /^[01]\.|2\.[0-5]\./,
                group: 'minor',
              }
            ]
          },

Review comment (suggestion):
```suggestion
                 vars.tag === 'latest' ? 'Latest version' :
                 v + (vars.tag ? ` (${tag})` : '') + ' (consider checking the latest version)';
```

Code after:
    ['redirect', {
      redirectors: [
        // Default sample page when accessing /samples.
        {base: '/samples', alternative: ['information']},
      ],
    }],
    ['vuepress-plugin-code-copy', true],
    [
      'vuepress-plugin-typedoc',
      {
        entryPoints: ['../../types/index.esm.d.ts'],
        hideInPageTOC: true,
        tsconfig: 'tsconfig.json',
        sidebar: {
          fullNames: true,
          parentCategory: 'API',
        },
      },
    ],
    ['@simonbrunel/vuepress-plugin-versions', {
      filters: {
        suffix: (tag) => tag ? ` (${tag})` : '',
        title: (v, vars) => {
          return window.location.href.includes('master') ? 'Development (master)' :
                 vars.tag === 'latest' ? 'Latest (' + v + ')' :
                 v + (vars.tag ? ` (${tag})` : '') + ' (outdated)';
        },
      },
      menu: {
        text: '{{version|title}}',
        items: [
          {
            text: 'Documentation',
            items: [
              {
                text: 'Development (master)',
                link: '/docs/master/',
              },
              {
                text: 'Latest version',
                link: '/docs/latest/',
              },
              {
                type: 'versions',
                text: '{{version}}{{tag|suffix}}',
                link: '/docs/{{version}}/',
                exclude: /^[01]\.|2\.[0-5]\./,
                group: 'minor',
              }
            ]
          },