From 20b0afacf58f34dbd20f9622aa2472d29d154eba Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Fri, 13 Apr 2018 14:05:57 +0900 Subject: Standardize external type links --- packages/website/ts/containers/deployer_documentation.ts | 4 ++-- packages/website/ts/containers/subproviders_documentation.ts | 4 ++-- packages/website/ts/containers/web3_wrapper_documentation.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'packages/website/ts/containers') diff --git a/packages/website/ts/containers/deployer_documentation.ts b/packages/website/ts/containers/deployer_documentation.ts index 4e1c41f8c..e20cc195b 100644 --- a/packages/website/ts/containers/deployer_documentation.ts +++ b/packages/website/ts/containers/deployer_documentation.ts @@ -64,8 +64,8 @@ const docsInfoConfig: DocsInfoConfig = { 'TxData', ], typeNameToExternalLink: { - Web3: 'https://github.com/ethereum/wiki/wiki/JavaScript-API', - BigNumber: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L127', + Web3: constants.URL_WEB3_DOCS, + BigNumber: constants.URL_BIGNUMBERJS_GITHUB, ContractInstance: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L98', }, typeNameToPrefix: { diff --git a/packages/website/ts/containers/subproviders_documentation.ts b/packages/website/ts/containers/subproviders_documentation.ts index 017d708a4..a14d06a3f 100644 --- a/packages/website/ts/containers/subproviders_documentation.ts +++ b/packages/website/ts/containers/subproviders_documentation.ts @@ -111,8 +111,8 @@ const docsInfoConfig: DocsInfoConfig = { 'Provider', ], typeNameToExternalLink: { - Web3: 'https://github.com/ethereum/wiki/wiki/JavaScript-API', - BigNumber: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L127', + Web3: constants.URL_WEB3_DOCS, + BigNumber: constants.URL_BIGNUMBERJS_GITHUB, }, typeNameToPrefix: {}, }, diff --git a/packages/website/ts/containers/web3_wrapper_documentation.ts b/packages/website/ts/containers/web3_wrapper_documentation.ts index 9c0ca9b9a..17754ca66 100644 --- a/packages/website/ts/containers/web3_wrapper_documentation.ts +++ b/packages/website/ts/containers/web3_wrapper_documentation.ts @@ -85,8 +85,8 @@ const docsInfoConfig: DocsInfoConfig = { 'ContractEventArg', ], typeNameToExternalLink: { - Web3: 'https://github.com/ethereum/wiki/wiki/JavaScript-API', - BigNumber: 'http://mikemcl.github.io/bignumber.js', + Web3: constants.URL_WEB3_DOCS, + BigNumber: constants.URL_BIGNUMBERJS_GITHUB, }, typeNameToPrefix: {}, typeNameToDocSection: { -- cgit