aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-13 13:05:57 +0800
committerFabio Berger <me@fabioberger.com>2018-04-13 13:05:57 +0800
commit20b0afacf58f34dbd20f9622aa2472d29d154eba (patch)
treed043f478c035a91d24ff4b850fee8428317aa946
parent6dbe8dbc50c8ab9efdee9ab1894d48e3049308dd (diff)
downloaddexon-sol-tools-20b0afacf58f34dbd20f9622aa2472d29d154eba.tar.gz
dexon-sol-tools-20b0afacf58f34dbd20f9622aa2472d29d154eba.tar.zst
dexon-sol-tools-20b0afacf58f34dbd20f9622aa2472d29d154eba.zip
Standardize external type links
-rw-r--r--packages/website/ts/containers/deployer_documentation.ts4
-rw-r--r--packages/website/ts/containers/subproviders_documentation.ts4
-rw-r--r--packages/website/ts/containers/web3_wrapper_documentation.ts4
3 files changed, 6 insertions, 6 deletions
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: {