X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=typedoc.mjs;h=86f160da4960b68f9ec2c39a5b053ae14354372a;hb=b01ef5473956a4393acd7602d8b9c9666d0347be;hp=1d74fb4e16d20aeb63dfd7ad8e7563130425378f;hpb=8ebe6c308dc1fc3202980126da043b2855d24780;p=poolifier.git diff --git a/typedoc.mjs b/typedoc.mjs index 1d74fb4e..86f160da 100644 --- a/typedoc.mjs +++ b/typedoc.mjs @@ -1,7 +1,7 @@ +import { execSync } from 'node:child_process' import { copyFileSync, mkdirSync, readdirSync, rmSync } from 'node:fs' import { dirname, join } from 'node:path' import { fileURLToPath } from 'node:url' -import { execSync } from 'node:child_process' try { mkdirSync(join(dirname(fileURLToPath(import.meta.url)), 'tmp'), { @@ -9,7 +9,7 @@ try { }) const markdownFiles = readdirSync( join(dirname(fileURLToPath(import.meta.url)), 'docs') - ).filter((file) => file.endsWith('.md')) + ).filter(file => file.endsWith('.md')) for (const markdownFile of markdownFiles) { copyFileSync( join(dirname(fileURLToPath(import.meta.url)), 'docs', markdownFile),