diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-10 01:05:38 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-10 01:05:38 +0800 |
commit | 324b1079e7eb29829bf06ff65299acdc58abf308 (patch) | |
tree | b03cc6abb6cf5595bef75609a82664855db1ad7a /packages/react-docs/src/docs_info.ts | |
parent | a9b320e636850693edd535da20ce7e5ec949926e (diff) | |
download | dexon-sol-tools-324b1079e7eb29829bf06ff65299acdc58abf308.tar dexon-sol-tools-324b1079e7eb29829bf06ff65299acdc58abf308.tar.gz dexon-sol-tools-324b1079e7eb29829bf06ff65299acdc58abf308.tar.bz2 dexon-sol-tools-324b1079e7eb29829bf06ff65299acdc58abf308.tar.lz dexon-sol-tools-324b1079e7eb29829bf06ff65299acdc58abf308.tar.xz dexon-sol-tools-324b1079e7eb29829bf06ff65299acdc58abf308.tar.zst dexon-sol-tools-324b1079e7eb29829bf06ff65299acdc58abf308.zip |
Add ability to nest doc ref markdown under specific versions
Diffstat (limited to 'packages/react-docs/src/docs_info.ts')
-rw-r--r-- | packages/react-docs/src/docs_info.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/react-docs/src/docs_info.ts b/packages/react-docs/src/docs_info.ts index 6f4f39f00..e9f3c13fe 100644 --- a/packages/react-docs/src/docs_info.ts +++ b/packages/react-docs/src/docs_info.ts @@ -24,7 +24,7 @@ export class DocsInfo { public packageUrl: string; public menu: DocsMenu; public sections: SectionsMap; - public sectionNameToMarkdown: { [sectionName: string]: string }; + public sectionNameToMarkdownByVersion: SectionNameToMarkdownByVersion; public contractsByVersionByNetworkId?: ContractsByVersionByNetworkId; public typeConfigs: DocsInfoTypeConfigs; private _docsInfo: DocsInfoConfig; @@ -34,7 +34,7 @@ export class DocsInfo { this.displayName = config.displayName; this.packageUrl = config.packageUrl; this.sections = config.sections; - this.sectionNameToMarkdown = config.sectionNameToMarkdown; + this.sectionNameToMarkdownByVersion = config.sectionNameToMarkdownByVersion; this.contractsByVersionByNetworkId = config.contractsByVersionByNetworkId; this.typeConfigs = config.typeConfigs; this._docsInfo = config; |