.. | ||
hyper_hello | ||
testdata | ||
benchmark.py | ||
benchmark_test.py | ||
build_benchmark_jsons.py | ||
deno_http_proxy.ts | ||
deno_tcp.ts | ||
deno_tcp_proxy.ts | ||
docs.py | ||
format.py | ||
http_benchmark.py | ||
http_server.py | ||
lint.py | ||
node_http.js | ||
node_http_proxy.js | ||
node_tcp.js | ||
node_tcp_promise.js | ||
node_tcp_proxy.js | ||
package.json | ||
pylintrc | ||
README.md | ||
sha256sum.py | ||
sync_node_modules.py | ||
sync_python_modules.py | ||
test_format.py | ||
test_util.py | ||
third_party.py | ||
throughput_benchmark.py | ||
upload_docs.py | ||
util.py | ||
util_test.py |
Tools
Documentation for various tooling in support of Deno development
docs.py
This script is used to generate the API documentation for Deno. It can be useful to run locally to test the formatting of your changes to the documentation.
If you would like to see how your JSDoc will be rendered after changing
cli/js/lib.deno.ns.d.ts
, you can run the following:
First, make sure you have typedoc installed:
npm install typedoc --save-dev
Then run the doc generation tool:
./tools/docs.py
Output can be found in ./target/typedoc/index.html
format.py
This script will format the code (currently using prettier, yapf and rustfmt). It is a prerequisite to run this before code check in.
To run formatting:
./tools/format.py
lint.py
This script will lint the code base (currently using eslint, pylint and clippy). It is a prerequisite to run this before code check in.
To run linting:
./tools/lint.py