summaryrefslogtreecommitdiff
path: root/tools/docs.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-09-10 14:34:54 -0400
committerGitHub <noreply@github.com>2019-09-10 14:34:54 -0400
commit49aea7abbc6260cf1974233e96933bd306ce53c0 (patch)
tree7413cabcee2b4bb04c9a317ae1b1206fd3b70df4 /tools/docs.py
parentacee1944b9419e101f515a501b11653af8229258 (diff)
Minor fixes in tools/ (#2906)
* Fix tools/docs.py * Remove dead code: sync_rust_crates.py
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.