update docusaurus to v2.0.0-beta.21
Reviewed By: passy Differential Revision: D37377632 fbshipit-source-id: 3cb3f9801db393dfb4b6fef6c92f758a8be55e84
This commit is contained in:
committed by
Facebook GitHub Bot
parent
912c24e039
commit
2d4ae3961a
@@ -52,7 +52,7 @@ const siteConfig = {
|
|||||||
position: 'right',
|
position: 'right',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: 'docs/getting-started/index',
|
to: 'docs/getting-started',
|
||||||
label: 'Setup',
|
label: 'Setup',
|
||||||
position: 'right',
|
position: 'right',
|
||||||
},
|
},
|
||||||
@@ -89,7 +89,7 @@ const siteConfig = {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: 'Getting Started',
|
label: 'Getting Started',
|
||||||
to: 'docs/getting-started/index',
|
to: 'docs/getting-started',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Plugin Creation Tutorial',
|
label: 'Plugin Creation Tutorial',
|
||||||
@@ -147,6 +147,7 @@ const siteConfig = {
|
|||||||
algolia: fbContent({
|
algolia: fbContent({
|
||||||
internal: undefined,
|
internal: undefined,
|
||||||
external: {
|
external: {
|
||||||
|
appId: 'OFCNCOG2CU',
|
||||||
apiKey: '2df980e7ffc95c19552790f7cad32666',
|
apiKey: '2df980e7ffc95c19552790f7cad32666',
|
||||||
indexName: 'fbflipper',
|
indexName: 'fbflipper',
|
||||||
algoliaOptions: {
|
algoliaOptions: {
|
||||||
@@ -219,7 +220,7 @@ const siteConfig = {
|
|||||||
{
|
{
|
||||||
redirects: [
|
redirects: [
|
||||||
{
|
{
|
||||||
to: '/docs/getting-started/troubleshooting/troubleshooting',
|
to: '/docs/getting-started/troubleshooting',
|
||||||
from: ['/docs/fb/troubleshooting'],
|
from: ['/docs/fb/troubleshooting'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -246,7 +247,7 @@ const siteConfig = {
|
|||||||
from: ['/docs/fb/developmentworkflow'],
|
from: ['/docs/fb/developmentworkflow'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: '/docs/getting-started/index',
|
to: '/docs/getting-started',
|
||||||
from: ['/docs/fb/Help-Updating-Flipper'],
|
from: ['/docs/fb/Help-Updating-Flipper'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -264,11 +265,11 @@ const siteConfig = {
|
|||||||
from: ['/docs/fb/using-gatekeepers'],
|
from: ['/docs/fb/using-gatekeepers'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: '/docs/getting-started/index',
|
to: '/docs/getting-started',
|
||||||
from: ['/docs/fb/using-flipper-at-facebook'],
|
from: ['/docs/fb/using-flipper-at-facebook'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: '/docs/getting-started/index',
|
to: '/docs/getting-started',
|
||||||
from: ['/docs/fb/index'],
|
from: ['/docs/fb/index'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,14 +12,14 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ant-design/icons": "^4.7.0",
|
"@ant-design/icons": "^4.7.0",
|
||||||
"@docusaurus/core": "^2.0.0-beta.9",
|
"@docusaurus/core": "^2.0.0-beta.21",
|
||||||
"@docusaurus/plugin-client-redirects": "2.0.0-beta.9",
|
"@docusaurus/plugin-client-redirects": "2.0.0-beta.21",
|
||||||
"@docusaurus/preset-classic": "^2.0.0-beta.9",
|
"@docusaurus/preset-classic": "^2.0.0-beta.21",
|
||||||
"@emotion/css": "^11.7.1",
|
"@emotion/css": "^11.7.1",
|
||||||
"@emotion/styled": "^11.6.0",
|
"@emotion/styled": "^11.6.0",
|
||||||
"@types/fs-extra": "^9.0.13",
|
"@types/fs-extra": "^9.0.13",
|
||||||
"antd": "^4.18.7",
|
"antd": "^4.18.7",
|
||||||
"docusaurus-plugin-internaldocs-fb": "0.10.7",
|
"docusaurus-plugin-internaldocs-fb": "0.12.0",
|
||||||
"file-cli": "^1.2.0",
|
"file-cli": "^1.2.0",
|
||||||
"flipper-plugin": "^0.131.1",
|
"flipper-plugin": "^0.131.1",
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
|
|||||||
@@ -16,9 +16,7 @@ module.exports = function(context, options) {
|
|||||||
resolve: {
|
resolve: {
|
||||||
symlinks: false
|
symlinks: false
|
||||||
},
|
},
|
||||||
devServer: {
|
watchOptions: { followSymlinks: false },
|
||||||
watchOptions: { followSymlinks: false }
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,8 +9,7 @@ import React from 'react';
|
|||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import LayoutProviders from '@theme/LayoutProviders';
|
import LayoutProviders from '@theme/LayoutProviders';
|
||||||
import Head from '@docusaurus/Head';
|
import Head from '@docusaurus/Head';
|
||||||
import useKeyboardNavigation from '@theme/hooks/useKeyboardNavigation';
|
import {ThemeClassNames, useKeyboardNavigation} from '@docusaurus/theme-common';
|
||||||
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
||||||
import './styles.css';
|
import './styles.css';
|
||||||
|
|
||||||
function EmbeddedLayout(props) {
|
function EmbeddedLayout(props) {
|
||||||
|
|||||||
5310
website/yarn.lock
5310
website/yarn.lock
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user