diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-19 00:31:38 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-19 00:31:38 +0800 |
commit | c4ae91c7c5aaa2d6e278448667bf828162be93bc (patch) | |
tree | 46843ed4273b158e0313897d2b5029516c4222ba /packages/website/ts/containers/sol_cov_documentation.ts | |
parent | 8b62b350b1fed6a0d8827ca9ed5fcec3e78ae82f (diff) | |
download | dexon-sol-tools-c4ae91c7c5aaa2d6e278448667bf828162be93bc.tar.gz dexon-sol-tools-c4ae91c7c5aaa2d6e278448667bf828162be93bc.tar.zst dexon-sol-tools-c4ae91c7c5aaa2d6e278448667bf828162be93bc.zip |
Update doc ref markdown sections
Diffstat (limited to 'packages/website/ts/containers/sol_cov_documentation.ts')
-rw-r--r-- | packages/website/ts/containers/sol_cov_documentation.ts | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/packages/website/ts/containers/sol_cov_documentation.ts b/packages/website/ts/containers/sol_cov_documentation.ts index 5943be009..8944ec70a 100644 --- a/packages/website/ts/containers/sol_cov_documentation.ts +++ b/packages/website/ts/containers/sol_cov_documentation.ts @@ -9,9 +9,12 @@ import { DocPackages, ScreenWidths } from 'ts/types'; import { Translate } from 'ts/utils/translate'; /* tslint:disable:no-var-requires */ -const IntroMarkdownV1 = require('md/docs/sol_cov/introduction'); -const InstallationMarkdownV1 = require('md/docs/sol_cov/installation'); -const UsageMarkdown = require('md/docs/sol_cov/usage'); +const IntroMarkdown1 = require('md/docs/sol_cov/1/introduction'); +const InstallationMarkdown1 = require('md/docs/sol_cov/1/installation'); +const UsageMarkdown1 = require('md/docs/sol_cov/1/usage'); +const IntroMarkdown2 = require('md/docs/sol_cov/2/introduction'); +const InstallationMarkdown2 = require('md/docs/sol_cov/2/installation'); +const UsageMarkdown2 = require('md/docs/sol_cov/2/usage'); /* tslint:enable:no-var-requires */ const markdownSections = { @@ -31,9 +34,14 @@ const docsInfoConfig: DocsInfoConfig = { }, sectionNameToMarkdownByVersion: { '0.0.1': { - [markdownSections.introduction]: IntroMarkdownV1, - [markdownSections.installation]: InstallationMarkdownV1, - [markdownSections.usage]: UsageMarkdown, + [markdownSections.introduction]: IntroMarkdown1, + [markdownSections.installation]: InstallationMarkdown1, + [markdownSections.usage]: UsageMarkdown1, + }, + '2.1.8': { + [markdownSections.introduction]: IntroMarkdown2, + [markdownSections.installation]: InstallationMarkdown2, + [markdownSections.usage]: UsageMarkdown2, }, }, markdownSections, |