diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-09-21 00:51:30 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-09-21 00:51:30 +0800 |
commit | 301e491952707cdad8929cb918209a3792201a7d (patch) | |
tree | 3092f1f3592d3c4b937bc3d11cdfdcdc66871248 /packages/website/ts/containers/zero_ex_js_documentation.ts | |
parent | 30622631ff588b4b87a05e4ce3ca2906ed1edf9f (diff) | |
parent | 3e70ab015ba2cf00064c985c0b76137b182abf7f (diff) | |
download | dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.gz dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.bz2 dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.lz dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.xz dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.zst dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.zip |
Merge remote-tracking branch 'upstream/development' into sol-doc
Diffstat (limited to 'packages/website/ts/containers/zero_ex_js_documentation.ts')
-rw-r--r-- | packages/website/ts/containers/zero_ex_js_documentation.ts | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/packages/website/ts/containers/zero_ex_js_documentation.ts b/packages/website/ts/containers/zero_ex_js_documentation.ts index 922dd3c10..2a3afd86c 100644 --- a/packages/website/ts/containers/zero_ex_js_documentation.ts +++ b/packages/website/ts/containers/zero_ex_js_documentation.ts @@ -9,14 +9,18 @@ import { DocPackages } from 'ts/types'; import { Translate } from 'ts/utils/translate'; /* tslint:disable:no-var-requires */ -const IntroMarkdownV1 = require('md/docs/0xjs/1.0.0/introduction'); -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 IntroMarkdownV0 = require('md/docs/0xjs/0.0.1/introduction'); +const InstallationMarkdownV0 = require('md/docs/0xjs/0.0.1/installation'); +const AsyncMarkdownV0 = require('md/docs/0xjs/0.0.1/async'); +const ErrorsMarkdownV0 = require('md/docs/0xjs/0.0.1/errors'); +const versioningMarkdownV0 = require('md/docs/0xjs/0.0.1/versioning'); + +const IntroMarkdownV1 = require('md/docs/0xjs/1.0.1/introduction'); +const InstallationMarkdownV1 = require('md/docs/0xjs/1.0.1/installation'); +const AsyncMarkdownV1 = require('md/docs/0xjs/1.0.1/async'); +const ErrorsMarkdownV1 = ErrorsMarkdownV0; +const versioningMarkdownV1 = require('md/docs/0xjs/1.0.1/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 markdownSections = { @@ -41,17 +45,16 @@ const docsInfoConfig: DocsInfoConfig = { }, sectionNameToMarkdownByVersion: { '0.0.1': { + [markdownSections.introduction]: IntroMarkdownV0, + [markdownSections.installation]: InstallationMarkdownV0, + [markdownSections.versioning]: versioningMarkdownV0, + [markdownSections.async]: AsyncMarkdownV0, + [markdownSections.errors]: ErrorsMarkdownV0, + }, + '1.0.1': { [markdownSections.introduction]: IntroMarkdownV1, [markdownSections.installation]: InstallationMarkdownV1, - [markdownSections.async]: AsyncMarkdownV1, - [markdownSections.errors]: ErrorsMarkdownV1, [markdownSections.versioning]: versioningMarkdownV1, - }, - '1.0.0-rc.1': { - [markdownSections.introduction]: IntroMarkdownV2, - [markdownSections.versioning]: versioningMarkdownV2, - // These are the same as for V1 - [markdownSections.installation]: InstallationMarkdownV1, [markdownSections.async]: AsyncMarkdownV1, [markdownSections.errors]: ErrorsMarkdownV1, }, |