Skip to content

docs: document deno doc npm: / deno doc jsr: (2.8)#3092

Merged
crowlKats merged 2 commits into
denoland:2.8from
lunadogbot:docs/2.8-doc-npm
May 20, 2026
Merged

docs: document deno doc npm: / deno doc jsr: (2.8)#3092
crowlKats merged 2 commits into
denoland:2.8from
lunadogbot:docs/2.8-doc-npm

Conversation

@lunadogbot
Copy link
Copy Markdown
Contributor

Summary

Documents the new ability for deno doc to accept npm: and jsr: specifiers, shipping in Deno 2.8 (denoland/deno#32435).

  • New "Documenting an npm or JSR package" subsection in runtime/reference/cli/doc.md.
  • Examples for both npm: and jsr: specifiers, version pinning, and combining with --html / --json.

Test plan

  • deno task serve — section renders.

Adds a "Documenting an npm or JSR package" subsection to doc.md
covering the new ability to point \`deno doc\` at \`npm:\` or \`jsr:\`
specifiers (with version pinning) and combine them with --html /
--json output.

Refs denoland/deno#32435
@crowlKats crowlKats changed the base branch from main to 2.8 May 5, 2026 11:42
Copy link
Copy Markdown
Contributor

@fibibot fibibot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Starting in Deno 2.8 is too late. On current stable deno 2.7.14, deno doc npm:code-block-writer and deno doc --json npm:code-block-writer both succeed, so this should not present the npm/JSON support as new in 2.8. Please either remove the version claim or narrow it to only the part that actually lands in 2.8.

@crowlKats crowlKats merged commit 635fc98 into denoland:2.8 May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants