diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-18 21:54:12 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-18 21:54:12 +0800 |
commit | c7302c46e57c4646dbbd0004e09e987b720b5815 (patch) | |
tree | c29821584c6aa25b47b426f2fc7196e43ae6449f /packages/website/ts/pages | |
parent | 4948551703fb3cb9f8470d9f4a61a9a5473e5afa (diff) | |
download | dexon-sol-tools-c7302c46e57c4646dbbd0004e09e987b720b5815.tar dexon-sol-tools-c7302c46e57c4646dbbd0004e09e987b720b5815.tar.gz dexon-sol-tools-c7302c46e57c4646dbbd0004e09e987b720b5815.tar.bz2 dexon-sol-tools-c7302c46e57c4646dbbd0004e09e987b720b5815.tar.lz dexon-sol-tools-c7302c46e57c4646dbbd0004e09e987b720b5815.tar.xz dexon-sol-tools-c7302c46e57c4646dbbd0004e09e987b720b5815.tar.zst dexon-sol-tools-c7302c46e57c4646dbbd0004e09e987b720b5815.zip |
Add JSON Schemas docs to website
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r-- | packages/website/ts/pages/documentation/doc_page.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/pages/documentation/doc_page.tsx b/packages/website/ts/pages/documentation/doc_page.tsx index 5f09ec9ef..55dbe12af 100644 --- a/packages/website/ts/pages/documentation/doc_page.tsx +++ b/packages/website/ts/pages/documentation/doc_page.tsx @@ -17,13 +17,14 @@ import { utils } from 'ts/utils/utils'; const ZERO_EX_JS_VERSION_MISSING_TOPLEVEL_PATH = '0.32.4'; -const isDevelopment = configs.ENVIRONMENT !== Environments.DEVELOPMENT; +const isDevelopment = configs.ENVIRONMENT === Environments.DEVELOPMENT; const docIdToS3FolderName: { [id: string]: string } = { [DocPackages.ZeroExJs]: '0xjs', [DocPackages.SmartContracts]: 'smart-contracts', [DocPackages.Connect]: 'connect', [DocPackages.Web3Wrapper]: 'web3-wrapper', [DocPackages.Deployer]: 'deployer', + [DocPackages.JSONSchemas]: 'json-schemas', }; const docIdToSubpackageName: { [id: string]: string } = { @@ -32,6 +33,7 @@ const docIdToSubpackageName: { [id: string]: string } = { [DocPackages.SmartContracts]: 'contracts', [DocPackages.Web3Wrapper]: 'web3-wrapper', [DocPackages.Deployer]: 'deployer', + [DocPackages.JSONSchemas]: 'json-schemas', }; export interface DocPageProps { |