)]}'
{
  "commit": "8ca4994a7e3fc87ea21e9b900b8b1ef71b0e1838",
  "tree": "d39b34e68fff4b030a8e2be3899bff6746332eee",
  "parents": [
    "9e86db6e010c2a4a2e88d042bb1f16ac3789947f"
  ],
  "author": {
    "name": "Georges Farah",
    "email": "georges.farah2114@gmail.com",
    "time": "Tue Jul 14 08:15:34 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Jul 14 06:15:34 2026 +0000"
  },
  "message": "docs: correct broken anchor links in docstrings for Bazel registry docs (#2913)\n\n## Summary\nThe Bazel registry (registry.bazel.build) renders function/macro\ndefinition anchors with a `function-` prefix (e.g.\n`id\u003d\"function-js_binary\"`), but the docstring links used bare names\n(e.g. `#js_binary`), causing the links to not navigate to the correct\nsection.\n\n- `#js_binary` -\u003e `#function-js_binary` in `js_binary` macro docstring\n- `#js_test` -\u003e `#function-js_test` in `js_test` macro docstring\n- `#stamped_package_json` -\u003e `#function-stamped_package_json` in\n`npm_package` docstring\n\n### Test plan\nManual testing:\n1. Visit https://registry.bazel.build/docs/aspect_rules_js\n2. Find the `js_binary` macro — click the link to \"js_binary\" in its\nkwargs description — currently doesn\u0027t navigate\n3. Same for `js_test` and `stamped_package_json` links\n4. After this fix, the links navigate to the correct sections\n\nCo-authored-by: Claude Opus 4.6 (1M context) \u003cnoreply@anthropic.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3392fd7b6da30733f7ac5bbdeae0c678ddd8ac18",
      "old_mode": 33188,
      "old_path": "js/defs.bzl",
      "new_id": "6add5fd781fc1ce2586c14a5266d4f4feabdafb8",
      "new_mode": 33188,
      "new_path": "js/defs.bzl"
    },
    {
      "type": "modify",
      "old_id": "923990bd3acbcd0ef6ccecb8839252da02761569",
      "old_mode": 33188,
      "old_path": "npm/private/npm_package.bzl",
      "new_id": "fcc9ce6f95220da9ee377e1a75c16941539ab43a",
      "new_mode": 33188,
      "new_path": "npm/private/npm_package.bzl"
    }
  ]
}
