Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/misc/generate-docs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/generate-docs.ts')
-rw-r--r--src/misc/generate-docs.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc/generate-docs.ts b/src/misc/generate-docs.ts
index b78f035..ada3acd 100644
--- a/src/misc/generate-docs.ts
+++ b/src/misc/generate-docs.ts
@@ -2,6 +2,9 @@ import * as fs from 'fs'
import * as os from 'os'
import * as path from 'path'
import * as yaml from 'js-yaml'
+import {fileURLToPath} from 'url'
+
+const __dirname = path.dirname(fileURLToPath(import.meta.url))
//
// SUMMARY