From 398013314ac5fdf8d872a65fce358392c56ba4f8 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 15 Mar 2023 18:28:23 +0100 Subject: [PATCH] fix plugin names and fix artefact folder --- apps/doc-gen/src/app/docgen-client.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/doc-gen/src/app/docgen-client.ts b/apps/doc-gen/src/app/docgen-client.ts index d76a4c3e81..de0385f41d 100644 --- a/apps/doc-gen/src/app/docgen-client.ts +++ b/apps/doc-gen/src/app/docgen-client.ts @@ -59,7 +59,7 @@ export class DocGenClient extends PluginClient { const docs: string[] = [] for (const { id, contents } of renderedSite) { const temp = `${this.fileName.split('/')[1].split('.')[0]}.${id.split('.')[1]}` - const newFileName = `contracts/documentation/${temp}` + const newFileName = `docs/${temp}` await this.call('fileManager', 'setFile', newFileName , contents) docs.push(newFileName) } @@ -70,9 +70,9 @@ export class DocGenClient extends PluginClient { } async opendDocs(docs: string[]) { - await this.call('manager', 'activatePlugin', 'docviewer') - await this.call('tabs' as any, 'focus', 'docviewer') - await this.call('docviewer' as any, 'viewDocs', docs) + await this.call('manager', 'activatePlugin', 'doc-viewer') + await this.call('tabs' as any, 'focus', 'doc-viewer') + await this.call('doc-viewer' as any, 'viewDocs', docs) } async generateDocs() {