aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-20 02:45:00 +0800
committerFabio Berger <me@fabioberger.com>2018-07-20 02:45:00 +0800
commitb72857cd8b8a391b340d2f09636b140bcfd73a31 (patch)
tree887a9bd1e7f269843c6abb095f33da96208e52c4 /packages/website/ts/containers
parentcc223b9eaba4710767227644d2db63298a6b8ecb (diff)
downloaddexon-sol-tools-b72857cd8b8a391b340d2f09636b140bcfd73a31.tar
dexon-sol-tools-b72857cd8b8a391b340d2f09636b140bcfd73a31.tar.gz
dexon-sol-tools-b72857cd8b8a391b340d2f09636b140bcfd73a31.tar.bz2
dexon-sol-tools-b72857cd8b8a391b340d2f09636b140bcfd73a31.tar.lz
dexon-sol-tools-b72857cd8b8a391b340d2f09636b140bcfd73a31.tar.xz
dexon-sol-tools-b72857cd8b8a391b340d2f09636b140bcfd73a31.tar.zst
dexon-sol-tools-b72857cd8b8a391b340d2f09636b140bcfd73a31.zip
Update doc md files for v2 packages
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r--packages/website/ts/containers/zero_ex_js_documentation.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/website/ts/containers/zero_ex_js_documentation.ts b/packages/website/ts/containers/zero_ex_js_documentation.ts
index 2fc08e923..6be54595d 100644
--- a/packages/website/ts/containers/zero_ex_js_documentation.ts
+++ b/packages/website/ts/containers/zero_ex_js_documentation.ts
@@ -15,6 +15,9 @@ const InstallationMarkdownV1 = require('md/docs/0xjs/1.0.0/installation');
const AsyncMarkdownV1 = require('md/docs/0xjs/1.0.0/async');
const ErrorsMarkdownV1 = require('md/docs/0xjs/1.0.0/errors');
const versioningMarkdownV1 = require('md/docs/0xjs/1.0.0/versioning');
+
+const IntroMarkdownV2 = require('md/docs/0xjs/2.0.0/introduction');
+const versioningMarkdownV2 = require('md/docs/0xjs/2.0.0/versioning');
/* tslint:enable:no-var-requires */
const zeroExJsDocSections = {
@@ -62,6 +65,14 @@ const docsInfoConfig: DocsInfoConfig = {
[zeroExJsDocSections.errors]: ErrorsMarkdownV1,
[zeroExJsDocSections.versioning]: versioningMarkdownV1,
},
+ '1.0.0-rc.1': {
+ [zeroExJsDocSections.introduction]: IntroMarkdownV2,
+ [zeroExJsDocSections.versioning]: versioningMarkdownV2,
+ // These are the same as for V1
+ [zeroExJsDocSections.installation]: InstallationMarkdownV1,
+ [zeroExJsDocSections.async]: AsyncMarkdownV1,
+ [zeroExJsDocSections.errors]: ErrorsMarkdownV1,
+ },
},
sectionNameToModulePath: {
[zeroExJsDocSections.zeroEx]: ['"0x.js/src/0x"', '"src/0x"'],