Update website stuff (#1311)

Summary: Pull Request resolved: https://github.com/facebook/infer/pull/1311

Reviewed By: ngorogiannis

Differential Revision: D25639191

Pulled By: jvillard

fbshipit-source-id: cb5ad4a9e
master
Sora Morimoto 4 years ago committed by Facebook GitHub Bot
parent f22edd95c7
commit c5a0593be3

@ -22,7 +22,7 @@ module.exports = {
navbar: { navbar: {
title: "Infer", title: "Infer",
logo: { alt: "Infer Logo", src: "img/logo.png" }, logo: { alt: "Infer Logo", src: "img/logo.png" },
links: [ items: [
{ label: "Docs", to: "docs/getting-started", position: "right" }, { label: "Docs", to: "docs/getting-started", position: "right" },
{ label: "Support", to: "docs/support", position: "right" }, { label: "Support", to: "docs/support", position: "right" },
{ label: "Blog", to: "blog", position: "right" }, { label: "Blog", to: "blog", position: "right" },
@ -66,24 +66,27 @@ module.exports = {
{ label: "Blog", to: "blog" }, { label: "Blog", to: "blog" },
{ label: "GitHub", href: "https://github.com/facebook/infer" }, { label: "GitHub", href: "https://github.com/facebook/infer" },
{ label: "Twitter", href: "https://twitter.com/fbinfer" }, { label: "Twitter", href: "https://twitter.com/fbinfer" },
{ label: "Facebook", href: "https://www.facebook.com/inferstaticanalyzer" }, {
label: "Facebook",
href: "https://www.facebook.com/inferstaticanalyzer",
},
], ],
}, },
{ {
title: 'Legal', title: "Legal",
// Please do not remove the privacy and terms, it's a legal requirement. // Please do not remove the privacy and terms, it's a legal requirement.
items: [ items: [
{ {
label: 'Privacy', label: "Privacy",
href: 'https://opensource.facebook.com/legal/privacy/', href: "https://opensource.facebook.com/legal/privacy/",
target: '_blank', target: "_blank",
rel: 'noreferrer noopener', rel: "noreferrer noopener",
}, },
{ {
label: 'Terms', label: "Terms",
href: 'https://opensource.facebook.com/legal/terms/', href: "https://opensource.facebook.com/legal/terms/",
target: '_blank', target: "_blank",
rel: 'noreferrer noopener', rel: "noreferrer noopener",
}, },
], ],
}, },
@ -91,7 +94,7 @@ module.exports = {
copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`, copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`,
}, },
prism: { prism: {
additionalLanguages: ['java'], additionalLanguages: ["java"],
}, },
}, },
presets: [ presets: [

@ -10,15 +10,15 @@
"deploy": "docusaurus deploy" "deploy": "docusaurus deploy"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "2.0.0-alpha.58", "@docusaurus/core": "2.0.0-alpha.70",
"@docusaurus/preset-classic": "2.0.0-alpha.58", "@docusaurus/preset-classic": "2.0.0-alpha.70",
"classnames": "2.2.6", "classnames": "2.2.6",
"react": "16.13.1", "react": "17.0.1",
"react-dom": "16.13.1", "react-dom": "17.0.1",
"react-github-btn": "1.2.0" "react-github-btn": "1.2.0"
}, },
"devDependencies": { "devDependencies": {
"prettier": "2.0.5" "prettier": "2.2.1"
}, },
"browserslist": { "browserslist": {
"production": [ "production": [

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save