summaryrefslogtreecommitdiff
path: root/tools/docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/docs.py')
-rwxr-xr-xtools/docs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/docs.py b/tools/docs.py
index 8daac46de..901a633e0 100755
--- a/tools/docs.py
+++ b/tools/docs.py
@@ -11,9 +11,9 @@ os.chdir(root_path)
# Builds into target/doc
run(["cargo", "doc", "--all", "--no-deps", "-vv"])
-# 'deno types' is stored in target/debug/gen/cli/lib/lib.deno_runtime.d.ts
+# 'deno types' is stored in js/lib.deno_runtime.d.ts
# We want to run typedoc on that declaration file only.
-os.chdir(os.path.join(target_path, "debug/gen/cli/lib/"))
+os.chdir(os.path.join(root_path, "js"))
# You must have typedoc installed seprately.
# TODO Replace typedoc with something else ASAP. It's very awful.