You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.4 KiB

/*
* 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: 'fbinfer',
},
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') },
},
],
],
};