<commit_before>const pkg = require('react-day-picker/package.json');

// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
/** @type {import('@docusaurus/preset-classic').ThemeConfig["navbar"]} */
const navbar = {
  title: 'React DayPicker',
  logo: {
    alt: 'DayPicker Logo',
    src: 'images/logo.png'
  },
  hideOnScroll: true,
  items: [
    {
      to: 'start',
      label: 'Documentation'
    },
    {
      to: 'reference',
      label: 'API Reference'
    },
    {
      to: 'development',
      label: 'Development'
    },
    {
      type: 'docsVersionDropdown',
      position: 'right',
      dropdownActiveClassDisabled: true,
      dropdownItemsBefore: [{ to: 'changelog', label: 'Changelog' }],
      dropdownItemsAfter: [
        {
          href: '/v7',
          label: 'v7 (older version)'
        }
      ]
    },
    {
      href: 'https://github.com/gpbl/react-day-picker',
      position: 'right',
      className: 'header-github-link',
      'aria-label': 'GitHub repository'
    }
  ]
};

module.exports = navbar;
<commit_msg>website(chore): fix link to v7 docs<commit_after>const pkg = require('react-day-picker/package.json');

// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
/** @type {import('@docusaurus/preset-classic').ThemeConfig["navbar"]} */
const navbar = {
  title: 'React DayPicker',
  logo: {
    alt: 'DayPicker Logo',
    src: 'images/logo.png'
  },
  hideOnScroll: true,
  items: [
    {
      to: 'start',
      label: 'Documentation'
    },
    {
      to: 'reference',
      label: 'API Reference'
    },
    {
      to: 'development',
      label: 'Development'
    },
    {
      type: 'docsVersionDropdown',
      position: 'right',
      dropdownActiveClassDisabled: true,
      dropdownItemsBefore: [{ to: 'changelog', label: 'Changelog' }],
      dropdownItemsAfter: [
        {
          href: 'https://react-day-picker-v7.netlify.app',
          label: 'v7 (older version)'
        }
      ]
    },
    {
      href: 'https://github.com/gpbl/react-day-picker',
      position: 'right',
      className: 'header-github-link',
      'aria-label': 'GitHub repository'
    }
  ]
};

module.exports = navbar;

{'fraction_non_alphanumeric': 0.15737410071942445, 'fraction_numerical': 0.0022482014388489208, 'mean_word_length': 2.3917682926829267, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5189898', 'n_tokens_mistral': 751, 'n_tokens_neox': 726, 'n_words': 147}