From d1fb61e0def4ccb491fc27bdf6394634e6c15768 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Mon, 11 Dec 2017 17:01:58 -0800 Subject: Add WebSocketOrderbookChannel to connect docs --- packages/website/ts/containers/connect_documentation.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/website/ts/containers/connect_documentation.tsx b/packages/website/ts/containers/connect_documentation.tsx index b074d955b..8ecc1e37c 100644 --- a/packages/website/ts/containers/connect_documentation.tsx +++ b/packages/website/ts/containers/connect_documentation.tsx @@ -23,6 +23,7 @@ const connectDocSections = { introduction: 'introduction', installation: 'installation', httpClient: 'httpClient', + webSocketOrderbookChannel: 'webSocketOrderbookChannel', types: 'types', }; @@ -42,6 +43,9 @@ const docsInfoConfig: DocsInfoConfig = { httpClient: [ connectDocSections.httpClient, ], + webSocketOrderbookChannel: [ + connectDocSections.webSocketOrderbookChannel, + ], types: [ connectDocSections.types, ], @@ -56,6 +60,9 @@ const docsInfoConfig: DocsInfoConfig = { 'Client', 'FeesRequest', 'FeesResponse', + 'OrderbookChannel', + 'OrderbookChannelHandler', + 'OrderbookChannelSubscriptionOpts', 'OrderbookRequest', 'OrderbookResponse', 'OrdersRequest', @@ -64,14 +71,19 @@ const docsInfoConfig: DocsInfoConfig = { 'TokenTradeInfo', 'Order', 'SignedOrder', + 'ECSignature', ], sectionNameToModulePath: { [connectDocSections.httpClient]: ['"src/http_client"'], + [connectDocSections.webSocketOrderbookChannel]: ['"src/ws_orderbook_channel"'], [connectDocSections.types]: ['"src/types"'], }, menuSubsectionToVersionWhenIntroduced: {}, sections: connectDocSections, - visibleConstructors: [connectDocSections.httpClient], + visibleConstructors: [ + connectDocSections.httpClient, + connectDocSections.webSocketOrderbookChannel, + ], convertToDocAgnosticFormatFn: typeDocUtils.convertToDocAgnosticFormat.bind(typeDocUtils), }; const docsInfo = new DocsInfo(docsInfoConfig); -- cgit v1.2.3