aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-11 16:05:35 +0800
committerFabio Berger <me@fabioberger.com>2018-04-11 16:05:35 +0800
commit3c0fa0b7e6cc861d6357360c974d2b5720f7c4b7 (patch)
treed7a0f505198c615bc09a57bad5f93fad79bfe135
parentad894fbdbb1698f9db44cd3f9e12e8395a2bc74f (diff)
downloaddexon-0x-contracts-3c0fa0b7e6cc861d6357360c974d2b5720f7c4b7.tar
dexon-0x-contracts-3c0fa0b7e6cc861d6357360c974d2b5720f7c4b7.tar.gz
dexon-0x-contracts-3c0fa0b7e6cc861d6357360c974d2b5720f7c4b7.tar.bz2
dexon-0x-contracts-3c0fa0b7e6cc861d6357360c974d2b5720f7c4b7.tar.lz
dexon-0x-contracts-3c0fa0b7e6cc861d6357360c974d2b5720f7c4b7.tar.xz
dexon-0x-contracts-3c0fa0b7e6cc861d6357360c974d2b5720f7c4b7.tar.zst
dexon-0x-contracts-3c0fa0b7e6cc861d6357360c974d2b5720f7c4b7.zip
Fix 0x.js docs now that many types are no longer references through the Web3 typings
-rw-r--r--packages/website/ts/containers/zero_ex_js_documentation.ts15
1 files changed, 3 insertions, 12 deletions
diff --git a/packages/website/ts/containers/zero_ex_js_documentation.ts b/packages/website/ts/containers/zero_ex_js_documentation.ts
index 12c63ca03..40853cb9e 100644
--- a/packages/website/ts/containers/zero_ex_js_documentation.ts
+++ b/packages/website/ts/containers/zero_ex_js_documentation.ts
@@ -171,21 +171,12 @@ const docsInfoConfig: DocsInfoConfig = {
'JSONRPCRequestPayload',
'JSONRPCResponsePayload',
'JSONRPCErrorCallback',
+ 'LogEntryEvent',
+ 'LogEntry',
],
- typeNameToPrefix: {
- Provider: 'Web3',
- DecodedLogEntryEvent: 'Web3',
- LogEntryEvent: 'Web3',
- CallData: 'Web3',
- LogEntry: 'Web3',
- },
+ typeNameToPrefix: {},
typeNameToExternalLink: {
- Web3: constants.URL_WEB3_DOCS,
- Provider: constants.URL_WEB3_PROVIDER_DOCS,
BigNumber: constants.URL_BIGNUMBERJS_GITHUB,
- DecodedLogEntryEvent: constants.URL_WEB3_DECODED_LOG_ENTRY_EVENT,
- LogEntryEvent: constants.URL_WEB3_LOG_ENTRY_EVENT,
- LogEntry: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L366',
},
typeNameToDocSection: {
ExchangeWrapper: 'exchange',