diff options
Diffstat (limited to 'packages/website/ts/pages/documentation/doc_page.tsx')
-rw-r--r-- | packages/website/ts/pages/documentation/doc_page.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/website/ts/pages/documentation/doc_page.tsx b/packages/website/ts/pages/documentation/doc_page.tsx index 58b6f076d..bc0dc7b6a 100644 --- a/packages/website/ts/pages/documentation/doc_page.tsx +++ b/packages/website/ts/pages/documentation/doc_page.tsx @@ -6,6 +6,7 @@ import { SupportedDocJson, TypeDocUtils, } from '@0xproject/react-docs'; +import { NestedSidebarMenu } from '@0xproject/react-shared'; import findVersions = require('find-versions'); import * as _ from 'lodash'; import CircularProgress from 'material-ui/CircularProgress'; @@ -87,10 +88,13 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> { sourceUrl={sourceUrl} /> ); + const sidebar = ( + <NestedSidebarMenu sectionNameToLinks={sectionNameToLinks} shouldReformatMenuItemNames={false} /> + ); return ( <DevelopersPage + sidebar={sidebar} mainContent={mainContent} - sectionNameToLinks={sectionNameToLinks} location={this.props.location} screenWidth={this.props.screenWidth} translate={this.props.translate} |