aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers/json_schemas_documentation.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-19 00:31:38 +0800
committerFabio Berger <me@fabioberger.com>2018-10-19 00:31:38 +0800
commitc4ae91c7c5aaa2d6e278448667bf828162be93bc (patch)
tree46843ed4273b158e0313897d2b5029516c4222ba /packages/website/ts/containers/json_schemas_documentation.ts
parent8b62b350b1fed6a0d8827ca9ed5fcec3e78ae82f (diff)
downloaddexon-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/json_schemas_documentation.ts')
-rw-r--r--packages/website/ts/containers/json_schemas_documentation.ts31
1 files changed, 20 insertions, 11 deletions
diff --git a/packages/website/ts/containers/json_schemas_documentation.ts b/packages/website/ts/containers/json_schemas_documentation.ts
index 38cdc909a..cb5918784 100644
--- a/packages/website/ts/containers/json_schemas_documentation.ts
+++ b/packages/website/ts/containers/json_schemas_documentation.ts
@@ -9,11 +9,14 @@ import { DocPackages, ScreenWidths } from 'ts/types';
import { Translate } from 'ts/utils/translate';
/* tslint:disable:no-var-requires */
-const IntroMarkdownV1 = require('md/docs/json_schemas/1.0.0/introduction');
-const InstallationMarkdownV1 = require('md/docs/json_schemas/1.0.0/installation');
-const UsageMarkdownV1 = require('md/docs/json_schemas/1.0.0/usage');
-const SchemasMarkdownV1 = require('md/docs/json_schemas/1.0.0/schemas');
-const SchemasMarkdownV2 = require('md/docs/json_schemas/2.0.0/schemas');
+const IntroMarkdown1 = require('md/docs/json_schemas/1/introduction');
+const IntroMarkdown3 = require('md/docs/json_schemas/3/introduction');
+const InstallationMarkdown1 = require('md/docs/json_schemas/1/installation');
+const InstallationMarkdown3 = require('md/docs/json_schemas/3/installation');
+const usageMarkdown1 = require('md/docs/json_schemas/1/usage');
+const usageMarkdown3 = require('md/docs/json_schemas/3/usage');
+const SchemasMarkdownV1 = require('md/docs/json_schemas/1/schemas');
+const SchemasMarkdownV2 = require('md/docs/json_schemas/2/schemas');
/* tslint:enable:no-var-requires */
const markdownSections = {
@@ -35,16 +38,22 @@ const docsInfoConfig: DocsInfoConfig = {
},
sectionNameToMarkdownByVersion: {
'0.0.1': {
- [markdownSections.introduction]: IntroMarkdownV1,
- [markdownSections.installation]: InstallationMarkdownV1,
+ [markdownSections.introduction]: IntroMarkdown1,
+ [markdownSections.installation]: InstallationMarkdown1,
[markdownSections.schemas]: SchemasMarkdownV1,
- [markdownSections.usage]: UsageMarkdownV1,
+ [markdownSections.usage]: usageMarkdown1,
},
'1.0.0': {
- [markdownSections.introduction]: IntroMarkdownV1,
- [markdownSections.installation]: InstallationMarkdownV1,
+ [markdownSections.introduction]: IntroMarkdown1,
+ [markdownSections.installation]: InstallationMarkdown1,
[markdownSections.schemas]: SchemasMarkdownV2,
- [markdownSections.usage]: UsageMarkdownV1,
+ [markdownSections.usage]: usageMarkdown1,
+ },
+ '2.0.0': {
+ [markdownSections.introduction]: IntroMarkdown3,
+ [markdownSections.installation]: InstallationMarkdown3,
+ [markdownSections.schemas]: SchemasMarkdownV2,
+ [markdownSections.usage]: usageMarkdown3,
},
},
markdownSections,