Use actual packageName for external example imports
This commit is contained in:
@@ -6,7 +6,6 @@ import { DocPage as DocPageComponent, DocPageProps } from 'ts/pages/documentatio
|
||||
import { Dispatcher } from 'ts/redux/dispatcher';
|
||||
import { State } from 'ts/redux/reducer';
|
||||
import { DocPackages } from 'ts/types';
|
||||
import { constants } from 'ts/utils/constants';
|
||||
import { Translate } from 'ts/utils/translate';
|
||||
|
||||
/* tslint:disable:no-var-requires */
|
||||
@@ -21,6 +20,7 @@ const markdownSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.Connect,
|
||||
packageName: '@0xproject/connect',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: '0x Connect',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
@@ -21,6 +21,7 @@ const markdownSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.ContractWrappers,
|
||||
packageName: '@0xproject/contract-wrappers',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: 'Contract Wrappers',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
@@ -22,6 +22,7 @@ const markdownSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.EthereumTypes,
|
||||
packageName: 'ethereum-types',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: 'Ethereum Types',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo/packages/ethereum-types',
|
||||
|
||||
@@ -25,6 +25,7 @@ const markdownSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.JSONSchemas,
|
||||
packageName: '@0xproject/json-schemas',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: 'JSON Schemas',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
@@ -21,6 +21,7 @@ const markdownSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.OrderUtils,
|
||||
packageName: '@0xproject/order-utils',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: 'Order utils',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
@@ -21,6 +21,7 @@ const markdownSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.OrderWatcher,
|
||||
packageName: '@0xproject/order-watcher',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: 'OrderWatcher',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
@@ -15,6 +15,7 @@ const IntroMarkdownV1 = require('md/docs/smart_contracts/1.0.0/introduction');
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.SmartContracts,
|
||||
packageName: 'contracts',
|
||||
type: SupportedDocJson.Doxity,
|
||||
displayName: '0x Smart Contracts',
|
||||
packageUrl: 'https://github.com/0xProject/contracts',
|
||||
|
||||
@@ -22,6 +22,7 @@ const markdownSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.SolCompiler,
|
||||
packageName: '@0xproject/sol-compiler',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: 'Solidity Compiler',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
@@ -22,6 +22,7 @@ const markdownSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.SolCov,
|
||||
packageName: '@0xproject/sol-cov',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: 'Sol-cov',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
@@ -23,6 +23,7 @@ const docSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.Subproviders,
|
||||
packageName: '@0xproject/subproviders',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: 'Subproviders',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
@@ -21,6 +21,7 @@ const docSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.Web3Wrapper,
|
||||
packageName: '@0xproject/web3-wrapper',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: 'Web3Wrapper',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
@@ -31,6 +31,7 @@ const markdownSections = {
|
||||
|
||||
const docsInfoConfig: DocsInfoConfig = {
|
||||
id: DocPackages.ZeroExJs,
|
||||
packageName: '0x.js',
|
||||
type: SupportedDocJson.TypeDoc,
|
||||
displayName: '0x.js',
|
||||
packageUrl: 'https://github.com/0xProject/0x-monorepo',
|
||||
|
||||
Reference in New Issue
Block a user