aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-11-21 19:47:24 +0800
committerFabio Berger <me@fabioberger.com>2018-11-21 19:47:24 +0800
commitdb26ca977f56468e1ce7dbb30ed38e537912e545 (patch)
tree887a8fbdad96d66994f18f3d2a8ed9d4fe9867ae /packages/website/ts/index.tsx
parenta8803431b3e339552c989d7567bf6241f39a2bdf (diff)
downloaddexon-sol-tools-db26ca977f56468e1ce7dbb30ed38e537912e545.tar
dexon-sol-tools-db26ca977f56468e1ce7dbb30ed38e537912e545.tar.gz
dexon-sol-tools-db26ca977f56468e1ce7dbb30ed38e537912e545.tar.bz2
dexon-sol-tools-db26ca977f56468e1ce7dbb30ed38e537912e545.tar.lz
dexon-sol-tools-db26ca977f56468e1ce7dbb30ed38e537912e545.tar.xz
dexon-sol-tools-db26ca977f56468e1ce7dbb30ed38e537912e545.tar.zst
dexon-sol-tools-db26ca977f56468e1ce7dbb30ed38e537912e545.zip
Create migrations doc reference page
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 96e7184f8..faf7d8c87 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -40,6 +40,9 @@ const LazyZeroExJSDocumentation = createLazyComponent('Documentation', async ()
const LazyContractWrappersDocumentation = createLazyComponent('Documentation', async () =>
import(/* webpackChunkName: "contractWrapperDocs" */ 'ts/containers/contract_wrappers_documentation'),
);
+const LazyMigrationsDocumentation = createLazyComponent('Documentation', async () =>
+ import(/* webpackChunkName: "migrationsDocs" */ 'ts/containers/migrations_documentation'),
+);
const LazyOrderWatcherDocumentation = createLazyComponent('Documentation', async () =>
import(/* webpackChunkName: "orderWatcherDocs" */ 'ts/containers/order_watcher_documentation'),
);
@@ -103,6 +106,10 @@ render(
component={LazyContractWrappersDocumentation}
/>
<Route
+ path={`${WebsitePaths.Migrations}/:version?`}
+ component={LazyMigrationsDocumentation}
+ />
+ <Route
path={`${WebsitePaths.OrderWatcher}/:version?`}
component={LazyOrderWatcherDocumentation}
/>