diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-02 03:00:45 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-02 03:00:45 +0800 |
commit | 2494af99aad4dd58c0d4e647dedf72946cb3c20b (patch) | |
tree | d2c20e41b4cd11874a222897970b2597b2e03092 /packages/website/ts/containers/subproviders_documentation.ts | |
parent | e5b93d1f0292cb6cc38d3f92d623b27cba6ac233 (diff) | |
download | dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.tar dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.tar.gz dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.tar.bz2 dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.tar.lz dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.tar.xz dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.tar.zst dexon-sol-tools-2494af99aad4dd58c0d4e647dedf72946cb3c20b.zip |
Prefix menu and sections with markdown as that is all the should now be defined
Diffstat (limited to 'packages/website/ts/containers/subproviders_documentation.ts')
-rw-r--r-- | packages/website/ts/containers/subproviders_documentation.ts | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/packages/website/ts/containers/subproviders_documentation.ts b/packages/website/ts/containers/subproviders_documentation.ts index 76c71902e..4aaffd908 100644 --- a/packages/website/ts/containers/subproviders_documentation.ts +++ b/packages/website/ts/containers/subproviders_documentation.ts @@ -18,20 +18,7 @@ const LedgerNodeHidMarkdown = require('md/docs/subproviders/ledger_node_hid'); const docSections = { introduction: 'introduction', installation: 'installation', - subprovider: 'subprovider', - ledgerSubprovider: 'ledgerSubprovider', ledgerNodeHid: 'ledger-node-hid-issue', - factoryMethods: 'factory-methods', - emptyWalletSubprovider: 'emptyWalletSubprovider', - fakeGasEstimateSubprovider: 'fakeGasEstimateSubprovider', - injectedWeb3Subprovider: 'injectedWeb3Subprovider', - signerSubprovider: 'signerSubprovider', - redundantRPCSubprovider: 'redundantRPCSubprovider', - ganacheSubprovider: 'ganacheSubprovider', - nonceTrackerSubprovider: 'nonceTrackerSubprovider', - privateKeyWalletSubprovider: 'privateKeyWalletSubprovider', - mnemonicWalletSubprovider: 'mnemonicWalletSubprovider', - types: docConstants.TYPES_SECTION_NAME, }; const docsInfoConfig: DocsInfoConfig = { @@ -39,23 +26,10 @@ const docsInfoConfig: DocsInfoConfig = { type: SupportedDocJson.TypeDoc, displayName: 'Subproviders', packageUrl: 'https://github.com/0xProject/0x-monorepo', - menu: { + markdownMenu: { introduction: [docSections.introduction], install: [docSections.installation], - subprovider: [docSections.subprovider], - ['ledger-subprovider']: [docSections.ledgerSubprovider], ['ledger-node-hid-issue']: [docSections.ledgerNodeHid], - ['private-key-wallet-subprovider']: [docSections.privateKeyWalletSubprovider], - ['mnemonic-wallet-subprovider']: [docSections.mnemonicWalletSubprovider], - ['factory-methods']: [docSections.factoryMethods], - ['emptyWallet-subprovider']: [docSections.emptyWalletSubprovider], - ['fakeGasEstimate-subprovider']: [docSections.fakeGasEstimateSubprovider], - ['injectedWeb3-subprovider']: [docSections.injectedWeb3Subprovider], - ['signer-subprovider']: [docSections.signerSubprovider], - ['redundantRPC-subprovider']: [docSections.redundantRPCSubprovider], - ['ganache-subprovider']: [docSections.ganacheSubprovider], - ['nonceTracker-subprovider']: [docSections.nonceTrackerSubprovider], - types: [docSections.types], }, sectionNameToMarkdownByVersion: { '0.0.1': { @@ -64,7 +38,7 @@ const docsInfoConfig: DocsInfoConfig = { [docSections.ledgerNodeHid]: LedgerNodeHidMarkdown, }, }, - sections: docSections, + markdownSections: docSections, typeConfigs: { typeNameToExternalLink: { Web3: constants.URL_WEB3_DOCS, |