aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-23 04:03:42 +0800
committerFabio Berger <me@fabioberger.com>2018-03-23 04:03:42 +0800
commit170e5589f95e33298212ec708ee538a711dcd133 (patch)
tree0d08e12b93824dc2a7ab617830f0a2b58546c4fa /packages/website
parent538914aa523115c7be5ac8c03cc9f5afc262ead3 (diff)
downloaddexon-sol-tools-170e5589f95e33298212ec708ee538a711dcd133.tar
dexon-sol-tools-170e5589f95e33298212ec708ee538a711dcd133.tar.gz
dexon-sol-tools-170e5589f95e33298212ec708ee538a711dcd133.tar.bz2
dexon-sol-tools-170e5589f95e33298212ec708ee538a711dcd133.tar.lz
dexon-sol-tools-170e5589f95e33298212ec708ee538a711dcd133.tar.xz
dexon-sol-tools-170e5589f95e33298212ec708ee538a711dcd133.tar.zst
dexon-sol-tools-170e5589f95e33298212ec708ee538a711dcd133.zip
Fix 0x.js docs to include types from generated contract wrappers
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/containers/zero_ex_js_documentation.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/website/ts/containers/zero_ex_js_documentation.ts b/packages/website/ts/containers/zero_ex_js_documentation.ts
index ec30780c3..3107a2a82 100644
--- a/packages/website/ts/containers/zero_ex_js_documentation.ts
+++ b/packages/website/ts/containers/zero_ex_js_documentation.ts
@@ -90,7 +90,14 @@ const docsInfoConfig: DocsInfoConfig = {
'"0x.js/src/order_watcher/order_state_watcher"',
'"src/order_watcher/order_state_watcher"',
],
- [zeroExJsDocSections.types]: ['"0x.js/src/types"', '"src/types"', '"types/src/index"'],
+ [zeroExJsDocSections.types]: [
+ '"0x.js/src/types"',
+ '"src/types"',
+ '"types/src/index"',
+ '"0x.js/src/contract_wrappers/generated/ether_token"',
+ '"0x.js/src/contract_wrappers/generated/token"',
+ '"0x.js/src/contract_wrappers/generated/exchange"',
+ ],
},
menuSubsectionToVersionWhenIntroduced: {
[zeroExJsDocSections.etherToken]: '0.7.1',