diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-29 22:52:49 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-29 22:52:49 +0800 |
commit | 53522a98b99d27ecfc4c782ca43e0f002050d6ee (patch) | |
tree | 9b600ca0cd87b1a68abfd74eba44b728c21ae2ba /packages/website/ts/pages | |
parent | 0e856ccfab98fc2f9c105efca91b09adef6c3da0 (diff) | |
download | dexon-sol-tools-53522a98b99d27ecfc4c782ca43e0f002050d6ee.tar dexon-sol-tools-53522a98b99d27ecfc4c782ca43e0f002050d6ee.tar.gz dexon-sol-tools-53522a98b99d27ecfc4c782ca43e0f002050d6ee.tar.bz2 dexon-sol-tools-53522a98b99d27ecfc4c782ca43e0f002050d6ee.tar.lz dexon-sol-tools-53522a98b99d27ecfc4c782ca43e0f002050d6ee.tar.xz dexon-sol-tools-53522a98b99d27ecfc4c782ca43e0f002050d6ee.tar.zst dexon-sol-tools-53522a98b99d27ecfc4c782ca43e0f002050d6ee.zip |
Rename packageName to displayName for clarity
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r-- | packages/website/ts/pages/documentation/docs_info.ts | 4 | ||||
-rw-r--r-- | packages/website/ts/pages/documentation/documentation.tsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/pages/documentation/docs_info.ts b/packages/website/ts/pages/documentation/docs_info.ts index 7fe5d9b31..1afcf8aaf 100644 --- a/packages/website/ts/pages/documentation/docs_info.ts +++ b/packages/website/ts/pages/documentation/docs_info.ts @@ -11,7 +11,7 @@ import { } from 'ts/types'; export class DocsInfo { - public packageName: string; + public displayName: string; public packageUrl: string; public subPackageName?: string; public websitePath: string; @@ -21,7 +21,7 @@ export class DocsInfo { public sectionNameToMarkdown: {[sectionName: string]: string}; private docsInfo: DocsInfoConfig; constructor(config: DocsInfoConfig) { - this.packageName = config.packageName; + this.displayName = config.displayName; this.packageUrl = config.packageUrl; this.subPackageName = config.subPackageName; this.websitePath = config.websitePath; diff --git a/packages/website/ts/pages/documentation/documentation.tsx b/packages/website/ts/pages/documentation/documentation.tsx index 27cd1da2c..be99e77a2 100644 --- a/packages/website/ts/pages/documentation/documentation.tsx +++ b/packages/website/ts/pages/documentation/documentation.tsx @@ -111,7 +111,7 @@ export class Documentation extends this.props.docsInfo.getMenuSubsectionsBySection(this.state.docAgnosticFormat); return ( <div> - <DocumentTitle title={`${this.props.docsInfo.packageName} Documentation`}/> + <DocumentTitle title={`${this.props.docsInfo.displayName} Documentation`}/> <TopBar blockchainIsLoaded={false} location={this.props.location} @@ -164,7 +164,7 @@ export class Documentation extends <div id={SCROLL_TOP_ID} /> <h1 className="md-pl2 sm-pl3"> <a href={this.props.docsInfo.packageUrl} target="_blank"> - {this.props.docsInfo.packageName} + {this.props.docsInfo.displayName} </a> </h1> {this.renderDocumentation()} |