<commit_before>/*
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

module.exports = {
  title: "Infer",
  tagline:
    "A tool to detect bugs in Java and C/C++/Objective-C code before it ships",
  url: "https://fbinfer.com",
  baseUrl: "/",
  favicon: "img/favicon.png",
  organizationName: "facebook",
  projectName: "infer",
  themeConfig: {
    navbar: {
      title: "Infer",
      logo: { alt: "Infer Logo", src: "img/logo.png" },
      links: [
        { label: "Docs", to: "docs/getting-started" },
        { label: "Support", to: "docs/support" },
        { label: "Blog", to: "blog" },
        {
          href: "https://twitter.com/fbinfer",
          label: "Twitter",
          position: "right"
        },
        {
          href: "https://www.facebook.com/inferstaticanalyzer",
          label: "Facebook",
          position: "right"
        },
        {
          href: "https://github.com/facebook/infer",
          label: "GitHub",
          position: "right"
        }
      ]
    },
    footer: {
      style: "light",
      links: [
        {
          title: "Docs",
          items: [
            { label: "Quick Start", to: "docs/getting-started" },
            { label: "User Guide", to: "docs/infer-workflow" },
            { label: "Foundations", to: "docs/about-Infer" },
            { label: "Bug Types Reference", to: "docs/checkers-bug-types" },
            { label: "Contribute", to: "docs/absint-framework" }
          ]
        },
        {
          title: "Community",
          items: [{ label: "Support", to: "docs/support" }]
        },
        {
          title: "Social",
          items: [
            { label: "Blog", to: "blog" },
            { label: "GitHub", href: "https://github.com/facebook/infer" },
            { label: "Twitter", href: "https://twitter.com/fbinfer" }
          ]
        }
      ],
      copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`
    }
  },
  presets: [
    [
      "@docusaurus/preset-classic",
      {
        docs: { sidebarPath: require.resolve("./sidebars.js") },
        theme: { customCss: require.resolve("./src/css/custom.css") }
      }
    ]
  ]
};<commit_msg>[infer][PR] [website] add Algolia search<commit_after>/*
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

module.exports = {
  title: 'Infer',
  tagline:
    'A tool to detect bugs in Java and C/C++/Objective-C code before it ships',
  url: 'https://fbinfer.com',
  baseUrl: '/',
  favicon: 'img/favicon.png',
  organizationName: 'facebook',
  projectName: 'infer',
  themeConfig: {
    algolia: {
      apiKey: 'aac9e661e851db0d4b6e74802c3df9de',
      indexName: 'infer',
    },
    navbar: {
      title: 'Infer',
      logo: { alt: 'Infer Logo', src: 'img/logo.png' },
      links: [
        { label: 'Docs', to: 'docs/getting-started' },
        { label: 'Support', to: 'docs/support' },
        { label: 'Blog', to: 'blog' },
        {
          href: 'https://twitter.com/fbinfer',
          label: 'Twitter',
          position: 'right',
        },
        {
          href: 'https://www.facebook.com/inferstaticanalyzer',
          label: 'Facebook',
          position: 'right',
        },
        {
          href: 'https://github.com/facebook/infer',
          label: 'GitHub',
          position: 'right',
        },
      ],
    },
    footer: {
      style: 'light',
      links: [
        {
          title: 'Docs',
          items: [
            { label: 'Quick Start', to: 'docs/getting-started' },
            { label: 'User Guide', to: 'docs/infer-workflow' },
            { label: 'Foundations', to: 'docs/about-Infer' },
            { label: 'Bug Types Reference', to: 'docs/checkers-bug-types' },
            { label: 'Contribute', to: 'docs/absint-framework' },
          ],
        },
        {
          title: 'Community',
          items: [{ label: 'Support', to: 'docs/support' }],
        },
        {
          title: 'Social',
          items: [
            { label: 'Blog', to: 'blog' },
            { label: 'GitHub', href: 'https://github.com/facebook/infer' },
            { label: 'Twitter', href: 'https://twitter.com/fbinfer' },
          ],
        },
      ],
      copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`,
    },
  },
  presets: [
    [
      '@docusaurus/preset-classic',
      {
        docs: { sidebarPath: require.resolve('./sidebars.js') },
        theme: { customCss: require.resolve('./src/css/custom.css') },
      },
    ],
  ],
};
{'fraction_non_alphanumeric': 0.1681950812838683, 'fraction_numerical': 0.0035431429762401, 'mean_word_length': 1.8295990566037736, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '492514', 'n_tokens_mistral': 1564, 'n_tokens_neox': 1508, 'n_words': 345}