Skip to content

docs: fix stale hooks documentation link in bash_command_validator_example.py - #84854

Open
cassiacarollinee-ship-it wants to merge 1 commit into
anthropics:mainfrom
cassiacarollinee-ship-it:fix/hooks-docs-link-example
Open

docs: fix stale hooks documentation link in bash_command_validator_example.py#84854
cassiacarollinee-ship-it wants to merge 1 commit into
anthropics:mainfrom
cassiacarollinee-ship-it:fix/hooks-docs-link-example

Conversation

@cassiacarollinee-ship-it

Copy link
Copy Markdown

Summary

  • The example hook script at examples/hooks/bash_command_validator_example.py links to the old docs.anthropic.com/en/docs/claude-code/hooks URL.
  • Every other doc link in the repo (46 occurrences across 16 files, including CHANGELOG.md) already uses the current code.claude.com/docs/en/... domain.
  • This updates the link to https://code.claude.com/docs/en/hooks for consistency, so the reference doesn't point to a stale/legacy path.

Test plan

  • Verified via grep that code.claude.com/docs/en/hooks is the URL pattern already used elsewhere (e.g. CHANGELOG.md) for the hooks documentation page.
  • Docs-only change; no code behavior affected.

…ample.py

The example script pointed to the old docs.anthropic.com domain while
every other reference in the repo uses code.claude.com/docs/en/...
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.

2 participants