aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers/smart_contracts_documentation.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/containers/smart_contracts_documentation.ts')
-rw-r--r--packages/website/ts/containers/smart_contracts_documentation.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/containers/smart_contracts_documentation.ts b/packages/website/ts/containers/smart_contracts_documentation.ts
index fc34b5f61..57c98fa3b 100644
--- a/packages/website/ts/containers/smart_contracts_documentation.ts
+++ b/packages/website/ts/containers/smart_contracts_documentation.ts
@@ -10,8 +10,8 @@ import { DocPackages, ScreenWidths, SmartContractDocSections as Sections } from
import { Translate } from 'ts/utils/translate';
/* tslint:disable:no-var-requires */
-const IntroMarkdownV1 = require('md/docs/smart_contracts/1.0.0/introduction');
-const IntroMarkdownV2 = require('md/docs/smart_contracts/2.0.0/introduction');
+const IntroMarkdown1 = require('md/docs/smart_contracts/1/introduction');
+const IntroMarkdown2 = require('md/docs/smart_contracts/2/introduction');
/* tslint:enable:no-var-requires */
const docsInfoConfig: DocsInfoConfig = {
@@ -25,10 +25,10 @@ const docsInfoConfig: DocsInfoConfig = {
},
sectionNameToMarkdownByVersion: {
'0.0.1': {
- [Sections.Introduction]: IntroMarkdownV1,
+ [Sections.Introduction]: IntroMarkdown1,
},
'2.0.0': {
- [Sections.Introduction]: IntroMarkdownV2,
+ [Sections.Introduction]: IntroMarkdown2,
},
},
markdownSections: {