mend Generate Documentation to Generate Docs

pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent 5943a2ebbf
commit 038a1f87f4
  1. 2
      apps/doc-gen/src/app/App.tsx
  2. 2
      apps/remix-ide/src/remixAppManager.js

@ -33,7 +33,7 @@ const App = () => {
{fileName && <div className="border-bottom border-top px-2 py-3 justify-center align-items-center d-flex">
<h6>File: {fileName}</h6>
</div>}
{hasBuild && <button className="btn btn-primary btn-block mt-4" onClick={() => client.generateDocs()}>Generate Documentation</button>}
{hasBuild && <button className="btn btn-primary btn-block mt-4" onClick={() => client.generateDocs()}>Generate Docs</button>}
</div>
)
}

@ -208,7 +208,7 @@ export class RemixAppManager extends PluginManager {
await this.call('filePanel', 'registerContextMenuItem', {
id: 'doc-gen',
name: 'generateDocsCustomAction',
label: 'Generate Documentation',
label: 'Generate Docs',
type: [],
extension: ['.sol'],
path: [],

Loading…
Cancel
Save