From 74e7fa13d634d5410374ff2d5052a7c80841041d Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 22 Aug 2018 12:04:03 -0700 Subject: Add documentation for json-schemas --- packages/website/ts/containers/json_schemas_documentation.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/website/ts/containers') 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"'], -- cgit