# (1) api-docs/にHTMLドキュメントを出力します$ deno doc --html --output=api-docs --name=fresh-testing-library mod.ts
Written 261 files to "./api-docs/"
# (2) ブラウザで閲覧できます$ xdg-open ./api-docs/index.html
deno doc --lint
各APIのJSDocドキュメントに対して検査を行うことができます。
$ deno doc --lint server.ts
Type 'CreateHandlerContextOptions' references type 'ContextFactoryOptions'
which is not exported from a root module.
at file:///home/uki00a/ghq/github.com/uki00a/fresh-testing-library/server.ts:27:1
...
Missing JS documentation comment.
at file:///home/uki00a/ghq/github.com/uki00a/fresh-testing-library/server.ts:294:1
error: Found 13 documentation diagnostics.
$echo $?
1
HMRがサポート (--unstable-hmr)
使い方は基本的に--watchと同様です。
$ deno run --unstable-hmr=config.json --no-clear-screen mod.ts