Skip to content

Commit a45d119

Browse files
committed
Fix redirection
1 parent 2a0185d commit a45d119

File tree

4 files changed

+16
-23
lines changed

4 files changed

+16
-23
lines changed

website/i18n/en.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,8 +1094,7 @@
10941094
"Docs": "Docs",
10951095
"API": "API",
10961096
"Help": "Help",
1097-
"Blog": "Blog",
1098-
"Next": "Next"
1097+
"Blog": "Blog"
10991098
},
11001099
"categories": {
11011100
"Fundamentals": "Fundamentals",

website/pages/en/next.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/**
2+
* Copyright (c) 2017-present, Facebook, Inc.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
8+
const React = require('react');
9+
const Redirect = require('docusaurus/lib/core/Redirect');
10+
11+
function Next({ config }) {
12+
return <Redirect redirect="/docs/next/getting-started" config={config} />;
13+
}
14+
15+
module.exports = Next;

website/pages/next.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

website/siteConfig.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const siteConfig = {
1919
{ doc: 'api-reference', label: 'API' },
2020
{ page: 'help', label: 'Help' },
2121
{ blog: true, label: 'Blog' },
22-
{ page: 'next', label: 'Next' },
2322
],
2423
users,
2524
/* TODO: update to use new icon */

0 commit comments

Comments
 (0)