remove .sol from md file name

pull/3591/head
Joseph Izang 2 years ago committed by Aniket
parent 7c608132d3
commit 79fcaa6732
  1. 2
      apps/doc-gen/src/app/docgen-client.ts

@ -63,7 +63,7 @@ export class DocGenClient extends PluginClient {
const renderedSite = render(site, templates, config.collapseNewlines)
const docs: string[] = []
for (const { id, contents } of renderedSite) {
const temp = `${this.fileName}.${id.split('.')[1]}`
const temp = `${this.fileName.split('.')[0]}.${id.split('.')[1]}`
const newFileName = `docs/${temp}`
await this.call('fileManager', 'setFile', newFileName , contents)
docs.push(newFileName)

Loading…
Cancel
Save