Upgrade docusaurus version

Summary:
Upgrading to 61 to get support for absolute links with markdown syntax.

All other changes here are required by the new config validators.

Reviewed By: passy

Differential Revision: D23130020

fbshipit-source-id: cadb3c629d6a8e64931a8db0b86621d05ee5c30e
This commit is contained in:
John Knox
2020-08-14 10:31:21 -07:00
committed by Facebook GitHub Bot
parent 1de1390621
commit 21a7655322
3 changed files with 888 additions and 491 deletions

View File

@@ -27,14 +27,16 @@ const siteConfig = {
alt: 'Flipper Logo', alt: 'Flipper Logo',
src: 'img/icon.png', src: 'img/icon.png',
}, },
links: [ items: [
{to: 'docs/features/index', label: 'Features', position: 'right'}, {to: 'docs/features/index', label: 'Features', position: 'right'},
{to: 'docs/getting-started/index', label: 'Setup', position: 'right'}, {to: 'docs/getting-started/index', label: 'Setup', position: 'right'},
{to: 'docs/extending/index', label: 'Extending', position: 'right'}, {to: 'docs/extending/index', label: 'Extending', position: 'right'},
{href: repoUrl, label: 'GitHub', position: 'right'}, {href: repoUrl, label: 'GitHub', position: 'right'},
], ],
}, },
disableDarkMode: true, colorMode: {
disableSwitch: true,
},
footer: { footer: {
style: 'dark', style: 'dark',
links: [ links: [
@@ -81,7 +83,6 @@ const siteConfig = {
logo: { logo: {
alt: 'Flipper Mascot', alt: 'Flipper Mascot',
src: 'img/mascot.png', src: 'img/mascot.png',
title: "I'm a dolphin not a whale!",
}, },
}, },
algolia: FBInternalWithOssFallback(undefined, { algolia: FBInternalWithOssFallback(undefined, {

View File

@@ -11,8 +11,8 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/parser": "^7.8.3", "@babel/parser": "^7.8.3",
"@docusaurus/core": "^2.0.0-alpha.56", "@docusaurus/core": "^2.0.0-alpha.61",
"@docusaurus/preset-classic": "^2.0.0-alpha.56", "@docusaurus/preset-classic": "^2.0.0-alpha.61",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"docblock-parser": "^1.0.0", "docblock-parser": "^1.0.0",
"docusaurus-plugin-internaldocs-fb": "^0.3.3", "docusaurus-plugin-internaldocs-fb": "^0.3.3",

File diff suppressed because it is too large Load Diff