aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/docs_info.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-22 23:11:42 +0800
committerFabio Berger <me@fabioberger.com>2018-08-22 23:11:42 +0800
commit7c29cadb1722b7ac6df7db8c947cc5eaad24edaf (patch)
tree02174f7c36879fb4bd3cfba99f554bfb29e5efb6 /packages/react-docs/src/docs_info.ts
parent40b202f8c0907cb729cc0d7d755a6810c8b1ff06 (diff)
downloaddexon-0x-contracts-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.tar.gz
dexon-0x-contracts-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.tar.zst
dexon-0x-contracts-7c29cadb1722b7ac6df7db8c947cc5eaad24edaf.zip
Use actual packageName for external example imports
Diffstat (limited to 'packages/react-docs/src/docs_info.ts')
-rw-r--r--packages/react-docs/src/docs_info.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/react-docs/src/docs_info.ts b/packages/react-docs/src/docs_info.ts
index 9e990ffc5..f429a34cb 100644
--- a/packages/react-docs/src/docs_info.ts
+++ b/packages/react-docs/src/docs_info.ts
@@ -21,6 +21,7 @@ export class DocsInfo {
public id: string;
public type: SupportedDocJson;
public displayName: string;
+ public packageName: string;
public packageUrl: string;
public menu: DocsMenu;
public sections: SectionsMap;
@@ -31,6 +32,7 @@ export class DocsInfo {
this.type = config.type;
this.menu = config.markdownMenu;
this.displayName = config.displayName;
+ this.packageName = config.packageName;
this.packageUrl = config.packageUrl;
this.sections = config.markdownSections;
this.sectionNameToMarkdownByVersion = config.sectionNameToMarkdownByVersion;