diff --git a/site/entry/index.jsx b/site/entry/index.jsx
index 34033c67f6..0700acc55c 100644
--- a/site/entry/index.jsx
+++ b/site/entry/index.jsx
@@ -55,6 +55,11 @@ ReactDOM.render(
component={utils.getChildrenWrapper(reactComponents)} />
{redirects}
+
+ {utils.generateIndex(reactComponents)}
+
+
{utils.generateIndex(practice)}
pathToFile[redirects[key]] = key);
-pathToFile['components/changelog'] = './CHANGELOG'; // TODO
+pathToFile['docs/react/changelog'] = './CHANGELOG'; // TODO
export function getChildrenWrapper(data) {
return function childrenWrapper(props) {
const trimedPathname = props.location.pathname.replace(/^\//, '');
diff --git a/site/website.config.js b/site/website.config.js
index 7559122825..cd441fd403 100644
--- a/site/website.config.js
+++ b/site/website.config.js
@@ -15,11 +15,7 @@ export default {
},
redirects: {
- 'docs/react/introduce': 'components/introduce',
- 'docs/react/getting-started': 'components/getting-started',
- 'docs/react/install': 'components/install',
- 'docs/react/upgrade-notes': 'components/upgrade-notes',
- CHANGELOG: 'components/changelog',
+ CHANGELOG: 'docs/react/changelog',
},
docVersions: {