From 48c5c3a3fb2f43716528db8915b36e55c411d94f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 30 Oct 2023 23:58:57 +0100 Subject: 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. --- cli/tests/testdata/doc/deno_doc2.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 cli/tests/testdata/doc/deno_doc2.ts (limited to 'cli/tests/testdata/doc/deno_doc2.ts') 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() { +} -- cgit v1.2.3