#13029: fix(docs): add redirect from /hooks to /automation/hooks
docs
stale
Cluster:
Soul Hooks Security Enhancements
Fixes #13017
## Summary
The "Learn more" link in the Hooks setup screen pointed to `/hooks`, which incorrectly redirected to `/hooks/soul-evil` (a specific hook page) instead of the general hooks overview at `/automation/hooks`.
## Changes
Added a redirect entry in `docs/docs.json`:
```json
{
"source": "/hooks",
"destination": "/automation/hooks"
}
```
## Testing
- ✅ Verified JSON syntax is valid
- ✅ Redirect follows the existing pattern in docs.json
- ✅ Target page (`/automation/hooks`) exists and contains the general hooks documentation
## Impact
Users clicking "Learn more" in the Hooks setup flow will now land on the correct general hooks documentation page instead of the specific SOUL Evil Hook page.
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a Mintlify docs redirect entry in `docs/docs.json` to route `/hooks` to the general hooks overview page at `/automation/hooks`, fixing the incorrect redirect behavior where `/hooks` led to a specific hook page. The change fits into the existing docs redirect list used by the Mintlify site configuration to maintain stable URLs and correct navigation destinations.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk.
- The change is a small, targeted docs-site redirect addition that matches existing redirect patterns, does not affect runtime code, and introduces no conflicting entries in the current redirects list.
- docs/docs.json
<!-- greptile_other_comments_section -->
<sub>(4/5) You can add custom instructions or style guidelines for the agent [here](https://app.greptile.com/review/github)!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#11169: fix(security): remove bundled soul-evil hook that enables silent ag...
by liuxiaopai-ai · 2026-02-07
79.2%
#22632: docs: fix redirects and small reorg
by gianpaj · 2026-02-21
73.5%
#10303: Docs: fix docs:dev script to use pnpm dlx
by janckerchen · 2026-02-06
71.6%
#7036: Fix evil soul hooks by enforcing env properties
by myberry2026 · 2026-02-02
70.8%
#10680: docs: clarify api.on() vs api.registerHook() for plugin hooks
by yassinebkr · 2026-02-06
70.3%
#13471: fix: security audit distinguishes internal hooks from external webh...
by jarvisz8 · 2026-02-10
70.1%
#23770: docs: fix broken URL, inconsistent casing, and hyphenation
by jainilDesai · 2026-02-22
70.1%
#7884: Docs: fix setup-token anchor text
by Smile232323 · 2026-02-03
70.1%
#9914: fix(hooks): resolve bundled hook dist paths and packaging checks
by zimmra · 2026-02-05
69.6%
#7210: docs: cleanup citation artifacts and update twitter URLs to X
by hongxuWei · 2026-02-02
69.5%