aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-23 03:04:03 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-23 03:04:03 +0800
commit74e7fa13d634d5410374ff2d5052a7c80841041d (patch)
treed13cc7f1c357b4f17a3dce00bd4c4563e0ecf94a /packages/website/ts
parentc905b20ce69d64711126bc31318e24f76deb05af (diff)
downloaddexon-sol-tools-74e7fa13d634d5410374ff2d5052a7c80841041d.tar.gz
dexon-sol-tools-74e7fa13d634d5410374ff2d5052a7c80841041d.tar.zst
dexon-sol-tools-74e7fa13d634d5410374ff2d5052a7c80841041d.zip
Add documentation for json-schemas
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/containers/json_schemas_documentation.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/ts/containers/json_schemas_documentation.ts b/packages/website/ts/containers/json_schemas_documentation.ts
index 523777114..fe95320a9 100644
--- a/packages/website/ts/containers/json_schemas_documentation.ts
+++ b/packages/website/ts/containers/json_schemas_documentation.ts
@@ -13,6 +13,7 @@ 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');
/* tslint:enable:no-var-requires */
const docSections = {
@@ -42,6 +43,12 @@ const docsInfoConfig: DocsInfoConfig = {
[docSections.schemas]: SchemasMarkdownV1,
[docSections.usage]: UsageMarkdownV1,
},
+ '1.0.0': {
+ [docSections.introduction]: IntroMarkdownV1,
+ [docSections.installation]: InstallationMarkdownV1,
+ [docSections.schemas]: SchemasMarkdownV2,
+ [docSections.usage]: UsageMarkdownV1,
+ },
},
sectionNameToModulePath: {
[docSections.schemaValidator]: ['"json-schemas/src/schema_validator"'],