aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/documentation
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-07 17:20:15 +0800
committerFabio Berger <me@fabioberger.com>2018-03-07 17:20:15 +0800
commitf66efed777f1046718478a28f5dd3c4942379774 (patch)
tree4215103a5fce52319fe110affe2b1fca3dfd9b35 /packages/website/ts/pages/documentation
parente88eba18772015b07c9ae305260c12f1cdf69e8c (diff)
downloaddexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.gz
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.bz2
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.lz
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.xz
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.tar.zst
dexon-sol-tools-f66efed777f1046718478a28f5dd3c4942379774.zip
Add example docs to react-docs package
Diffstat (limited to 'packages/website/ts/pages/documentation')
-rw-r--r--packages/website/ts/pages/documentation/doc_page.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/pages/documentation/doc_page.tsx b/packages/website/ts/pages/documentation/doc_page.tsx
index bc01dc728..e0d7b272d 100644
--- a/packages/website/ts/pages/documentation/doc_page.tsx
+++ b/packages/website/ts/pages/documentation/doc_page.tsx
@@ -88,6 +88,7 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
docAgnosticFormat={this.state.docAgnosticFormat}
sidebarHeader={<SidebarHeader title={this.props.docsInfo.displayName} />}
sourceUrl={sourceUrl}
+ topBarHeight={60}
/>
</div>
);
@@ -112,7 +113,7 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
const versionFileNameToFetch = versionToFileName[versionToFetch];
const versionDocObj = await docUtils.getJSONDocFileAsync(versionFileNameToFetch, docsJsonRoot);
- const docAgnosticFormat = this.props.docsInfo.convertToDocAgnosticFormat(versionDocObj as DoxityDocObj);
+ const docAgnosticFormat = this.props.docsInfo.convertToDocAgnosticFormat(versionDocObj);
if (!this._isUnmounted) {
this.setState({