diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-02 03:00:45 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-02 03:00:45 +0800 |
commit | 2494af99aad4dd58c0d4e647dedf72946cb3c20b (patch) | |
tree | d2c20e41b4cd11874a222897970b2597b2e03092 /packages/website/ts/containers/json_schemas_documentation.ts | |
parent | e5b93d1f0292cb6cc38d3f92d623b27cba6ac233 (diff) | |
download | dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.tar.gz dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.tar.zst dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.zip |
Prefix menu and sections with markdown as that is all the should now be defined
Diffstat (limited to 'packages/website/ts/containers/json_schemas_documentation.ts')
-rw-r--r-- | packages/website/ts/containers/json_schemas_documentation.ts | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/packages/website/ts/containers/json_schemas_documentation.ts b/packages/website/ts/containers/json_schemas_documentation.ts index 3ecc0f312..f88cec6ec 100644 --- a/packages/website/ts/containers/json_schemas_documentation.ts +++ b/packages/website/ts/containers/json_schemas_documentation.ts @@ -15,7 +15,7 @@ const UsageMarkdownV1 = require('md/docs/json_schemas/1.0.0/usage'); const SchemasMarkdownV1 = require('md/docs/json_schemas/1.0.0/schemas'); /* tslint:enable:no-var-requires */ -const docSections = { +const markdownSections = { introduction: 'introduction', installation: 'installation', usage: 'usage', @@ -28,22 +28,22 @@ const docsInfoConfig: DocsInfoConfig = { type: SupportedDocJson.TypeDoc, displayName: 'JSON Schemas', packageUrl: 'https://github.com/0xProject/0x-monorepo', - menu: { - introduction: [docSections.introduction], - install: [docSections.installation], - usage: [docSections.usage], - schemaValidator: [docSections.schemaValidator], - schemas: [docSections.schemas], + markdownMenu: { + introduction: [markdownSections.introduction], + install: [markdownSections.installation], + usage: [markdownSections.usage], + schemaValidator: [markdownSections.schemaValidator], + schemas: [markdownSections.schemas], }, sectionNameToMarkdownByVersion: { '0.0.1': { - [docSections.introduction]: IntroMarkdownV1, - [docSections.installation]: InstallationMarkdownV1, - [docSections.schemas]: SchemasMarkdownV1, - [docSections.usage]: UsageMarkdownV1, + [markdownSections.introduction]: IntroMarkdownV1, + [markdownSections.installation]: InstallationMarkdownV1, + [markdownSections.schemas]: SchemasMarkdownV1, + [markdownSections.usage]: UsageMarkdownV1, }, }, - sections: docSections, + markdownSections: markdownSections, typeConfigs: { typeNameToExternalLink: { Schema: |