Skip to content

Commit 191a173

Browse files
committed
docs: use /edge prefix for links to edge-only hooks pages
The `/en/learn/...` form still resolves against the default frozen version, where `step-hooks` and `execution-boundary-hooks` do not exist yet, so the link checker kept failing. Links now use the explicit `/edge/en/learn/...` form, matching how `consuming-streams.mdx` linked to edge-only streaming pages before they were frozen.
1 parent 6be349f commit 191a173

5 files changed

Lines changed: 27 additions & 27 deletions

File tree

docs/edge/en/learn/execution-boundary-hooks.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def boundary_hook(ctx) -> Any | None:
3838

3939
Boundary hooks follow the standard contract: proceed (`return None`), mutate in
4040
place, replace by returning, or abort by raising
41-
[`HookAborted`](/en/learn/execution-hooks#aborting-an-operation). An abort at any
41+
[`HookAborted`](/edge/en/learn/execution-hooks#aborting-an-operation). An abort at any
4242
boundary propagates out of `kickoff()` with its reason.
4343

4444
## Context Schema
@@ -157,7 +157,7 @@ clear_all_hooks() # Clears every point, including boundaries
157157

158158
## Related Documentation
159159

160-
- [Execution Hooks Overview →](/en/learn/execution-hooks)
161-
- [Step Hooks →](/en/learn/step-hooks)
162-
- [LLM Call Hooks →](/en/learn/llm-hooks)
163-
- [Tool Call Hooks →](/en/learn/tool-hooks)
160+
- [Execution Hooks Overview →](/edge/en/learn/execution-hooks)
161+
- [Step Hooks →](/edge/en/learn/step-hooks)
162+
- [LLM Call Hooks →](/edge/en/learn/llm-hooks)
163+
- [Tool Call Hooks →](/edge/en/learn/tool-hooks)

docs/edge/en/learn/execution-hooks.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class MyProjCrew:
8787
Each family has a detailed guide covering its context schema, payload
8888
semantics, and examples.
8989

90-
### [Execution boundaries](/en/learn/execution-boundary-hooks)
90+
### [Execution boundaries](/edge/en/learn/execution-boundary-hooks)
9191

9292
| Point | When | `ctx.payload` |
9393
|-------|------|---------------|
@@ -96,7 +96,7 @@ semantics, and examples.
9696
| `OUTPUT` | Final result is ready | the output object |
9797
| `EXECUTION_END` | A crew or flow has finished | the output object |
9898

99-
### [Model boundaries](/en/learn/llm-hooks) & [tool boundaries](/en/learn/tool-hooks)
99+
### [Model boundaries](/edge/en/learn/llm-hooks) & [tool boundaries](/edge/en/learn/tool-hooks)
100100

101101
| Point | When | Hook receives |
102102
|-------|------|---------------|
@@ -110,7 +110,7 @@ its argument — there is no separate `ctx.payload`. Mutate `ctx.messages` /
110110
`ctx.tool_input` in place, and return a string from a post hook to replace the
111111
response / tool result.
112112

113-
### [Step points](/en/learn/step-hooks)
113+
### [Step points](/edge/en/learn/step-hooks)
114114

115115
| Point | When | `ctx.payload` |
116116
|-------|------|---------------|
@@ -272,10 +272,10 @@ You might still prefer them for existing codebases that already use
272272
For the detailed guides — context attributes, patterns, and management APIs
273273
(`register_*` / `unregister_*` / `clear_*`) — see:
274274

275-
- [LLM Call Hooks →](/en/learn/llm-hooks)
276-
- [Tool Call Hooks →](/en/learn/tool-hooks)
275+
- [LLM Call Hooks →](/edge/en/learn/llm-hooks)
276+
- [Tool Call Hooks →](/edge/en/learn/tool-hooks)
277277

278278
## Related documentation
279279

280-
- [Before and After Kickoff Hooks →](/en/learn/before-and-after-kickoff-hooks)
281-
- [Human-in-the-Loop →](/en/learn/human-in-the-loop)
280+
- [Before and After Kickoff Hooks →](/edge/en/learn/before-and-after-kickoff-hooks)
281+
- [Human-in-the-Loop →](/edge/en/learn/human-in-the-loop)

docs/edge/en/learn/llm-hooks.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ LLM hooks are executed at two interception points:
1818
| `PRE_MODEL_CALL` | Before every LLM call | `LLMCallHookContext` |
1919
| `POST_MODEL_CALL` | After every LLM call | `LLMCallHookContext` (with `response` set) |
2020

21-
Write them with the [`@on` decorator](/en/learn/execution-hooks). The
21+
Write them with the [`@on` decorator](/edge/en/learn/execution-hooks). The
2222
[legacy `@before_llm_call` / `@after_llm_call` decorators](#legacy-decorators)
2323
keep working unchanged — both styles register on the same engine and run in one
2424
ordered chain.
@@ -48,7 +48,7 @@ string to replace the response after it.
4848

4949
Blocking a call raises `ValueError("LLM call blocked by before_llm_call hook")`
5050
inside the executor; the `HookAborted` reason and source are recorded in
51-
[telemetry](/en/learn/execution-hooks#telemetry).
51+
[telemetry](/edge/en/learn/execution-hooks#telemetry).
5252

5353
## LLM Hook Context
5454

@@ -276,7 +276,7 @@ there is no behavioral penalty.
276276

277277
## Related Documentation
278278

279-
- [Execution Hooks Overview →](/en/learn/execution-hooks)
280-
- [Tool Call Hooks →](/en/learn/tool-hooks)
281-
- [Execution Boundary Hooks →](/en/learn/execution-boundary-hooks)
282-
- [Step Hooks →](/en/learn/step-hooks)
279+
- [Execution Hooks Overview →](/edge/en/learn/execution-hooks)
280+
- [Tool Call Hooks →](/edge/en/learn/tool-hooks)
281+
- [Execution Boundary Hooks →](/edge/en/learn/execution-boundary-hooks)
282+
- [Step Hooks →](/edge/en/learn/step-hooks)

docs/edge/en/learn/step-hooks.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ clear_all_hooks() # Clears every point, including steps
136136

137137
## Related Documentation
138138

139-
- [Execution Hooks Overview →](/en/learn/execution-hooks)
140-
- [Execution Boundary Hooks →](/en/learn/execution-boundary-hooks)
141-
- [LLM Call Hooks →](/en/learn/llm-hooks)
142-
- [Tool Call Hooks →](/en/learn/tool-hooks)
139+
- [Execution Hooks Overview →](/edge/en/learn/execution-hooks)
140+
- [Execution Boundary Hooks →](/edge/en/learn/execution-boundary-hooks)
141+
- [LLM Call Hooks →](/edge/en/learn/llm-hooks)
142+
- [Tool Call Hooks →](/edge/en/learn/tool-hooks)

docs/edge/en/learn/tool-hooks.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Tool hooks are executed at two interception points:
1818
| `PRE_TOOL_CALL` | Before every tool execution | `ToolCallHookContext` |
1919
| `POST_TOOL_CALL` | After every tool execution | `ToolCallHookContext` (with results set) |
2020

21-
Write them with the [`@on` decorator](/en/learn/execution-hooks). The
21+
Write them with the [`@on` decorator](/edge/en/learn/execution-hooks). The
2222
[legacy `@before_tool_call` / `@after_tool_call` decorators](#legacy-decorators)
2323
keep working unchanged — both styles register on the same engine and run in one
2424
ordered chain.
@@ -334,7 +334,7 @@ there is no behavioral penalty.
334334

335335
## Related Documentation
336336

337-
- [Execution Hooks Overview →](/en/learn/execution-hooks)
338-
- [LLM Call Hooks →](/en/learn/llm-hooks)
339-
- [Execution Boundary Hooks →](/en/learn/execution-boundary-hooks)
340-
- [Step Hooks →](/en/learn/step-hooks)
337+
- [Execution Hooks Overview →](/edge/en/learn/execution-hooks)
338+
- [LLM Call Hooks →](/edge/en/learn/llm-hooks)
339+
- [Execution Boundary Hooks →](/edge/en/learn/execution-boundary-hooks)
340+
- [Step Hooks →](/edge/en/learn/step-hooks)

0 commit comments

Comments
 (0)