diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 05:00:52 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 05:00:52 +0800 |
commit | 8a64599ca5ad23df8f4aec0b48776c4ae5a78d83 (patch) | |
tree | ff371d3de683a4740a4fa40dbe6c4325a17c4952 /packages/react-docs/src/docs_info.ts | |
parent | f03afe6f1b6a6bfa339507ee47b42c62550444a0 (diff) | |
parent | 5c21d3f6af2ffc513b2bbfe92abf99181a32ceca (diff) | |
download | dexon-0x-contracts-8a64599ca5ad23df8f4aec0b48776c4ae5a78d83.tar.gz dexon-0x-contracts-8a64599ca5ad23df8f4aec0b48776c4ae5a78d83.tar.zst dexon-0x-contracts-8a64599ca5ad23df8f4aec0b48776c4ae5a78d83.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/different-install-wallet-copy-for-mobile
Diffstat (limited to 'packages/react-docs/src/docs_info.ts')
-rw-r--r-- | packages/react-docs/src/docs_info.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/react-docs/src/docs_info.ts b/packages/react-docs/src/docs_info.ts index 54b59ef1f..76f7784ba 100644 --- a/packages/react-docs/src/docs_info.ts +++ b/packages/react-docs/src/docs_info.ts @@ -10,6 +10,7 @@ import { SectionsMap, SupportedDocJson, } from './types'; +import { constants } from './utils/constants'; export class DocsInfo { public id: string; @@ -64,7 +65,7 @@ export class DocsInfo { const docSections = _.keys(this.sections); _.each(docSections, sectionName => { const docSection = docAgnosticFormat[sectionName]; - if (_.isUndefined(docSection)) { + if (_.isUndefined(docSection) || sectionName === constants.EXTERNAL_EXPORTS_SECTION_NAME) { return; // no-op } |