summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/doc/deno_doc2.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-10-30 23:58:57 +0100
committerGitHub <noreply@github.com>2023-10-30 23:58:57 +0100
commit48c5c3a3fb2f43716528db8915b36e55c411d94f (patch)
tree557d833f997ab96652ef4a64dfd59348d5e4017e /cli/tests/testdata/doc/deno_doc2.ts
parentb75f3b5ca0952db8b50cf417c107f3f14fe582d5 (diff)
feat(doc): support multiple file entry (#21018)
This commit adds support for multiple entry points to `deno doc`. Unfortunately to achieve that, I had to change the semantics of the command to explicitly require `--filter` parameter for filtering symbols, instead of treating second free argument as the filter argument. `deno doc --builtin` is still supported, but cannot be mixed with actual entrypoints.
Diffstat (limited to 'cli/tests/testdata/doc/deno_doc2.ts')
-rw-r--r--cli/tests/testdata/doc/deno_doc2.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/doc/deno_doc2.ts b/cli/tests/testdata/doc/deno_doc2.ts
new file mode 100644
index 000000000..ee6fc22dc
--- /dev/null
+++ b/cli/tests/testdata/doc/deno_doc2.ts
@@ -0,0 +1,3 @@
+/** Some JSDoc */
+export function bar() {
+}