Skip to content

Commit 79fcaa6

Browse files
joeizangAniket-Engg
authored andcommitted
remove .sol from md file name
1 parent 7c60813 commit 79fcaa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/doc-gen/src/app/docgen-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class DocGenClient extends PluginClient {
6363
const renderedSite = render(site, templates, config.collapseNewlines)
6464
const docs: string[] = []
6565
for (const { id, contents } of renderedSite) {
66-
const temp = `${this.fileName}.${id.split('.')[1]}`
66+
const temp = `${this.fileName.split('.')[0]}.${id.split('.')[1]}`
6767
const newFileName = `docs/${temp}`
6868
await this.call('fileManager', 'setFile', newFileName , contents)
6969
docs.push(newFileName)

0 commit comments

Comments
 (0)