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"> {fileName && <div className="border-bottom border-top px-2 py-3 justify-center align-items-center d-flex">
<h6>File: {fileName}</h6> <h6>File: {fileName}</h6>
</div>} </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> </div>
) )
} }

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

Loading…
Cancel
Save