summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-04-06 16:54:54 +0300
committerBert Belder <bertbelder@gmail.com>2019-04-06 15:54:54 +0200
commit9e890c260b8fcd58cd6673b65931f0e606e1d5dc (patch)
tree92344f1e60bdbd4cf3e1e43b01c907a313f6b4d7
parent7a3df0a18465ceebe43f3183daa2f9397c4e5ebb (diff)
Fix tools/docs.py (#2055)
-rwxr-xr-xtools/docs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/docs.py b/tools/docs.py
index c35c68cd7..bbc06877c 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/lib/lib.deno_runtime.d.ts
+# 'deno --types' is stored in target/debug/gen/cli/lib/lib.deno_runtime.d.ts
# We want to run typedoc on that declaration file only.
-os.chdir(os.path.join(target_path, "debug/gen/lib/"))
+os.chdir(os.path.join(target_path, "debug/gen/cli/lib/"))
# You must have typedoc installed seprately.
# TODO Replace typedoc with something else ASAP. It's very awful.