docs: group execution hooks and document all hook contexts

The hooks pages sat flat in the learn nav and only documented the LLM
and tool call contexts, with examples built on the legacy decorators.
Groups them under a collapsible "Execution Hooks" section, adds
`step-hooks` and `execution-boundary-hooks` pages covering every hook
context from source, reworks the LLM and tool pages to lead with `@on`
while keeping the decorators, and links the orphaned
`before-and-after-kickoff-hooks` page into the group.
This commit is contained in:
Lucas Gomide
2026-07-14 17:07:45 -03:00
parent 0e5d0ecfb9
commit b8cb5dcc69
6 changed files with 699 additions and 787 deletions

View File

@@ -373,9 +373,17 @@
"edge/en/learn/replay-tasks-from-latest-crew-kickoff",
"edge/en/learn/sequential-process",
"edge/en/learn/using-annotations",
"edge/en/learn/execution-hooks",
"edge/en/learn/llm-hooks",
"edge/en/learn/tool-hooks"
{
"group": "Execution Hooks",
"pages": [
"edge/en/learn/execution-hooks",
"edge/en/learn/llm-hooks",
"edge/en/learn/tool-hooks",
"edge/en/learn/execution-boundary-hooks",
"edge/en/learn/step-hooks",
"edge/en/learn/before-and-after-kickoff-hooks"
]
}
]
},
{