fix: rename SupportedDocJson field to SolDoc
from Solidity https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r219976199 https://github.com/0xProject/0x-monorepo/pull/1004
This commit is contained in:
@@ -141,7 +141,7 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
|
||||
versionDocObj as GeneratedDocJson,
|
||||
this.props.docsInfo,
|
||||
).convertToDocAgnosticFormat();
|
||||
} else if (this.props.docsInfo.type === SupportedDocJson.Solidity) {
|
||||
} else if (this.props.docsInfo.type === SupportedDocJson.SolDoc) {
|
||||
// documenting solidity.
|
||||
docAgnosticFormat = versionDocObj as DocAgnosticFormat;
|
||||
// need to modify docsInfo like convertToDocAgnosticFormat() would do
|
||||
|
Reference in New Issue
Block a user