Skip to content

docs: fix broken cross-page anchor links - #3494

Open
SatvikMishra08 wants to merge 2 commits into
denoland:mainfrom
SatvikMishra08:fix-broken-anchors
Open

SatvikMishra08 wants to merge 2 commits into
denoland:mainfrom
SatvikMishra08:fix-broken-anchors

Conversation

@SatvikMishra08

@SatvikMishra08 SatvikMishra08 commented Oct 10, 2026 •

Copy link
Copy Markdown

Several cross-page links point at anchors that no longer exist on docs.deno.com because the target headings were renamed or the slug differs from the hand-written fragment. Checked each target id on the live site:

  • fundamentals/node.md: CDN link modules/#url_imports (section no longer exists) → /runtime/packages/#https-imports
  • fundamentals/modules.md: node/#using-npm-modules → node/#using-npm-packages
  • fundamentals/typescript.md: node/#including-node-types → node/#get-node-and-npm-type-definitions; ts_config_migration/#migrating-compileroptions-from-nodejs → #migrating-compileroptions-from-node.js; #using-the-lib-property → #using-the-%22lib%22-property
  • reference/ts_config_migration.md: same in-page "lib" property link
  • packages/peer_dependencies.md: node/#node_modules → node/#control-node_modules (2 links)
  • reference/cli/unstable_flags.md, reference/env_variables.md: typescript/#...-tsgo → #faster-type-checking-with-the-native-compiler-(tsgo)
  • migrate/migrate_from_npm.md, migrate/migrate_from_yarn.md: #using-workspace-protocol-in-package-json → #using-workspace-protocol-in-package.json
  • reference/cli/add.md: install/#deno-install-packages → install/#deno-install-%5Bpackages%5D
  • packages/index.md, cli/add.md, cli/install.md: deno_json/#prefer-package-json-for-dependencies → #prefer-package.json-for-dependencies
  • examples/tutorials/npm_lifecycle_scripts.md: install/#native-nodejs-addons → install/#native-node.js-addons
  • fundamentals/security.md: /api/deno/#query-permissions (and request/revoke) don't exist on the API index → /api/deno/~/Deno.Permissions.prototype.query|request|revoke, matching how other pages link API methods

last_modified bumped on each touched page and deno fmt run (the two table reflows come from the longer link text).

This branch has not been deployed

No deployments
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.

1 participant