mirror of
https://github.com/denoland/deno
synced 2024-10-04 07:09:20 +00:00
Fix tools/docs.py (#2055)
This commit is contained in:
parent
7a3df0a184
commit
9e890c260b
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue