aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-14 23:37:24 +0800
committerFabio Berger <me@fabioberger.com>2018-03-14 23:37:24 +0800
commit28d63ad8e12389b2a9fa23306e40f4b87be3b469 (patch)
tree9dd115aeab55b837cd286e3b3381306d2bedda2f /packages/website/ts/index.tsx
parent56eeea1e633b3d0b41b50df6dcd8f76d284d5c73 (diff)
downloaddexon-0x-contracts-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar.gz
dexon-0x-contracts-28d63ad8e12389b2a9fa23306e40f4b87be3b469.tar.zst
dexon-0x-contracts-28d63ad8e12389b2a9fa23306e40f4b87be3b469.zip
Add Web3Wrapper docs to website
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r--packages/website/ts/index.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index b24517e39..7f037934b 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -45,6 +45,9 @@ const LazySmartContractsDocumentation = createLazyComponent('Documentation', asy
const LazyConnectDocumentation = createLazyComponent('Documentation', async () =>
System.import<any>(/* webpackChunkName: "connectDocs" */ 'ts/containers/connect_documentation'),
);
+const LazyWeb3WrapperDocumentation = createLazyComponent('Documentation', async () =>
+ System.import<any>(/* webpackChunkName: "connectDocs" */ 'ts/containers/web3_wrapper_documentation'),
+);
analytics.init();
// tslint:disable-next-line:no-floating-promises
@@ -66,6 +69,10 @@ render(
<Route path={`${WebsitePaths.ZeroExJs}/:version?`} component={LazyZeroExJSDocumentation} />
<Route path={`${WebsitePaths.Connect}/:version?`} component={LazyConnectDocumentation} />
<Route
+ path={`${WebsitePaths.Web3Wrapper}/:version?`}
+ component={LazyWeb3WrapperDocumentation}
+ />
+ <Route
path={`${WebsitePaths.SmartContracts}/:version?`}
component={LazySmartContractsDocumentation}
/>