remove .sol from md file name

pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent 17255e55f5
commit 300c4dd5c8
  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