Move DocsInfo out of the components folder
This commit is contained in:
		@@ -15,6 +15,7 @@ import CircularProgress from 'material-ui/CircularProgress';
 | 
				
			|||||||
import * as React from 'react';
 | 
					import * as React from 'react';
 | 
				
			||||||
import { scroller } from 'react-scroll';
 | 
					import { scroller } from 'react-scroll';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import { DocsInfo } from '../docs_info';
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
    AddressByContractName,
 | 
					    AddressByContractName,
 | 
				
			||||||
    DocAgnosticFormat,
 | 
					    DocAgnosticFormat,
 | 
				
			||||||
@@ -30,7 +31,6 @@ import { utils } from '../utils/utils';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import { Badge } from './badge';
 | 
					import { Badge } from './badge';
 | 
				
			||||||
import { Comment } from './comment';
 | 
					import { Comment } from './comment';
 | 
				
			||||||
import { DocsInfo } from './docs_info';
 | 
					 | 
				
			||||||
import { EventDefinition } from './event_definition';
 | 
					import { EventDefinition } from './event_definition';
 | 
				
			||||||
import { MethodBlock } from './method_block';
 | 
					import { MethodBlock } from './method_block';
 | 
				
			||||||
import { SourceLink } from './source_link';
 | 
					import { SourceLink } from './source_link';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,7 @@ import * as React from 'react';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import { Event, EventArg } from '../types';
 | 
					import { Event, EventArg } from '../types';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { DocsInfo } from './docs_info';
 | 
					import { DocsInfo } from '../docs_info';
 | 
				
			||||||
import { Type } from './type';
 | 
					import { Type } from './type';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export interface EventDefinitionProps {
 | 
					export interface EventDefinitionProps {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,7 @@ import * as React from 'react';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import { CustomType, TypeDocTypes } from '../types';
 | 
					import { CustomType, TypeDocTypes } from '../types';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { DocsInfo } from './docs_info';
 | 
					import { DocsInfo } from '../docs_info';
 | 
				
			||||||
import { MethodSignature } from './method_signature';
 | 
					import { MethodSignature } from './method_signature';
 | 
				
			||||||
import { Type } from './type';
 | 
					import { Type } from './type';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@ import { Parameter, SolidityMethod, TypeDefinitionByName, TypescriptMethod } fro
 | 
				
			|||||||
import { typeDocUtils } from '../utils/typedoc_utils';
 | 
					import { typeDocUtils } from '../utils/typedoc_utils';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { Comment } from './comment';
 | 
					import { Comment } from './comment';
 | 
				
			||||||
import { DocsInfo } from './docs_info';
 | 
					import { DocsInfo } from '../docs_info';
 | 
				
			||||||
import { MethodSignature } from './method_signature';
 | 
					import { MethodSignature } from './method_signature';
 | 
				
			||||||
import { SourceLink } from './source_link';
 | 
					import { SourceLink } from './source_link';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,7 @@ import * as ReactDOM from 'react-dom';
 | 
				
			|||||||
import { Parameter, SolidityMethod, TypeDefinitionByName, TypescriptMethod } from '../types';
 | 
					import { Parameter, SolidityMethod, TypeDefinitionByName, TypescriptMethod } from '../types';
 | 
				
			||||||
import { constants } from '../utils/constants';
 | 
					import { constants } from '../utils/constants';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { DocsInfo } from './docs_info';
 | 
					import { DocsInfo } from '../docs_info';
 | 
				
			||||||
import { Type } from './type';
 | 
					import { Type } from './type';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export interface MethodSignatureProps {
 | 
					export interface MethodSignatureProps {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@ import { Type as TypeDef, TypeDefinitionByName, TypeDocTypes } from '../types';
 | 
				
			|||||||
import { constants } from '../utils/constants';
 | 
					import { constants } from '../utils/constants';
 | 
				
			||||||
import { utils } from '../utils/utils';
 | 
					import { utils } from '../utils/utils';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { DocsInfo } from './docs_info';
 | 
					import { DocsInfo } from '../docs_info';
 | 
				
			||||||
import { TypeDefinition } from './type_definition';
 | 
					import { TypeDefinition } from './type_definition';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Some types reference other libraries. For these types, we want to link the user to the relevant documentation.
 | 
					// Some types reference other libraries. For these types, we want to link the user to the relevant documentation.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@ import { utils } from '../utils/utils';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import { Comment } from './comment';
 | 
					import { Comment } from './comment';
 | 
				
			||||||
import { CustomEnum } from './custom_enum';
 | 
					import { CustomEnum } from './custom_enum';
 | 
				
			||||||
import { DocsInfo } from './docs_info';
 | 
					import { DocsInfo } from '../docs_info';
 | 
				
			||||||
import { Enum } from './enum';
 | 
					import { Enum } from './enum';
 | 
				
			||||||
import { Interface } from './interface';
 | 
					import { Interface } from './interface';
 | 
				
			||||||
import { MethodSignature } from './method_signature';
 | 
					import { MethodSignature } from './method_signature';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,9 +11,9 @@ import {
 | 
				
			|||||||
    SectionsMap,
 | 
					    SectionsMap,
 | 
				
			||||||
    SupportedDocJson,
 | 
					    SupportedDocJson,
 | 
				
			||||||
    TypeDocNode,
 | 
					    TypeDocNode,
 | 
				
			||||||
} from '../types';
 | 
					} from './types';
 | 
				
			||||||
import { doxityUtils } from '../utils/doxity_utils';
 | 
					import { doxityUtils } from './utils/doxity_utils';
 | 
				
			||||||
import { typeDocUtils } from '../utils/typedoc_utils';
 | 
					import { typeDocUtils } from './utils/typedoc_utils';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export class DocsInfo {
 | 
					export class DocsInfo {
 | 
				
			||||||
    public id: string;
 | 
					    public id: string;
 | 
				
			||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
export { Documentation } from './components/documentation';
 | 
					export { Documentation } from './components/documentation';
 | 
				
			||||||
export { DocsInfo } from './components/docs_info';
 | 
					export { DocsInfo } from './docs_info';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Exported to give users of this library added flexibility if they want to build
 | 
					// Exported to give users of this library added flexibility if they want to build
 | 
				
			||||||
// a docs page from scratch using the individual components.
 | 
					// a docs page from scratch using the individual components.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
import * as _ from 'lodash';
 | 
					import * as _ from 'lodash';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { DocsInfo } from '../components/docs_info';
 | 
					import { DocsInfo } from '../docs_info';
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
    CustomType,
 | 
					    CustomType,
 | 
				
			||||||
    CustomTypeChild,
 | 
					    CustomTypeChild,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user