diff --git a/apps/doc-gen/src/app/App.tsx b/apps/doc-gen/src/app/App.tsx index f681866ea2..a11b5b99e8 100644 --- a/apps/doc-gen/src/app/App.tsx +++ b/apps/doc-gen/src/app/App.tsx @@ -29,7 +29,7 @@ const App = () => { return (
-
Compile a solidity contract in order to build documentation as markdown or right click on a contract and click on "Generate Documentation".
+
Compile a Solidity contract and generate its documentation as Markdown. (Right-click on a contract in the File Explorer and select "Generate Docs" from the context menu.).
{fileName &&
File: {fileName}
} diff --git a/apps/doc-gen/src/app/docgen-client.ts b/apps/doc-gen/src/app/docgen-client.ts index b1c0310390..ee06c3237f 100644 --- a/apps/doc-gen/src/app/docgen-client.ts +++ b/apps/doc-gen/src/app/docgen-client.ts @@ -89,6 +89,5 @@ export class DocGenClient extends PluginClient { this.eventEmitter.on('compilationFinished', async (build: Build, fileName: string) => { await this.docgen([build]) }) - this.eventEmitter.removeAllListeners('compilationFinished') } }