aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers/connect_documentation.ts
diff options
context:
space:
mode:
authorKadinsky <kandinsky454@protonmail.ch>2018-10-19 04:15:31 +0800
committerGitHub <noreply@github.com>2018-10-19 04:15:31 +0800
commit65d85ca5008fe0c307506b388d6ace858122f8ad (patch)
treef8d4b0aa654eab3f26bdbfe40dea6fb7e105e864 /packages/website/ts/containers/connect_documentation.ts
parent857eb95ac0f8299fe517321cb805a836232222bc (diff)
parentc2038eae5bc02fc24edcb369381b0d9699aed0aa (diff)
downloaddexon-sol-tools-65d85ca5008fe0c307506b388d6ace858122f8ad.tar
dexon-sol-tools-65d85ca5008fe0c307506b388d6ace858122f8ad.tar.gz
dexon-sol-tools-65d85ca5008fe0c307506b388d6ace858122f8ad.tar.bz2
dexon-sol-tools-65d85ca5008fe0c307506b388d6ace858122f8ad.tar.lz
dexon-sol-tools-65d85ca5008fe0c307506b388d6ace858122f8ad.tar.xz
dexon-sol-tools-65d85ca5008fe0c307506b388d6ace858122f8ad.tar.zst
dexon-sol-tools-65d85ca5008fe0c307506b388d6ace858122f8ad.zip
Merge pull request #1158 from 0xProject/docSectionFixes
Update Doc Ref Markdown Sections
Diffstat (limited to 'packages/website/ts/containers/connect_documentation.ts')
-rw-r--r--packages/website/ts/containers/connect_documentation.ts19
1 files changed, 12 insertions, 7 deletions
diff --git a/packages/website/ts/containers/connect_documentation.ts b/packages/website/ts/containers/connect_documentation.ts
index 074839385..0f11e0809 100644
--- a/packages/website/ts/containers/connect_documentation.ts
+++ b/packages/website/ts/containers/connect_documentation.ts
@@ -9,9 +9,10 @@ import { DocPackages, ScreenWidths } from 'ts/types';
import { Translate } from 'ts/utils/translate';
/* tslint:disable:no-var-requires */
-const IntroMarkdownV1 = require('md/docs/connect/1.0.0/introduction');
-const IntroMarkdownV2 = require('md/docs/connect/2.0.0/introduction');
-const InstallationMarkdownV1 = require('md/docs/connect/1.0.0/installation');
+const IntroMarkdown1 = require('md/docs/connect/1/introduction');
+const IntroMarkdown2 = require('md/docs/connect/2/introduction');
+const InstallationMarkdown1 = require('md/docs/connect/1/installation');
+const InstallationMarkdown3 = require('md/docs/connect/3/installation');
/* tslint:enable:no-var-requires */
const markdownSections = {
@@ -30,12 +31,16 @@ const docsInfoConfig: DocsInfoConfig = {
},
sectionNameToMarkdownByVersion: {
'0.0.1': {
- [markdownSections.introduction]: IntroMarkdownV1,
- [markdownSections.installation]: InstallationMarkdownV1,
+ [markdownSections.introduction]: IntroMarkdown1,
+ [markdownSections.installation]: InstallationMarkdown1,
},
'2.0.0-rc.1': {
- [markdownSections.introduction]: IntroMarkdownV2,
- [markdownSections.installation]: InstallationMarkdownV1,
+ [markdownSections.introduction]: IntroMarkdown2,
+ [markdownSections.installation]: InstallationMarkdown1,
+ },
+ '3.0.2': {
+ [markdownSections.introduction]: IntroMarkdown2,
+ [markdownSections.installation]: InstallationMarkdown3,
},
},
markdownSections,