Document hook output, post-configure, external commands, and hook PATH - #195
Open
jeremy wants to merge 1 commit into
Open
Document hook output, post-configure, external commands, and hook PATH#195jeremy wants to merge 1 commit into
jeremy wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds documentation for the new post-configure hook and the hook output mechanism, and wires the new page into the hooks navigation.
Changes:
- Add new
post-configurehook doc page with destination rewrite/injection examples. - Expand hooks overview docs to document
$KAMAL_OUTPUTand the hook output semantics (special keys, accumulation, precedence). - Update the docs sidebar to include
post-configure.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docs/hooks/post-configure.md | New page describing post-configure timing, env, and destination injection/rewrites via hook output. |
| docs/hooks/overview.md | Documents KAMAL_OUTPUT and adds a “Hook output” section + lists post-configure among hooks. |
| _data/docs.yml | Adds post-configure to the Hooks section navigation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jeremy
force-pushed
the
hook-output-docs
branch
from
February 20, 2026 00:47
7e71e6d to
bb27889
Compare
jeremy
force-pushed
the
hook-output-docs
branch
from
February 20, 2026 17:12
322f815 to
d479c14
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documentation for basecamp/kamal#1782, basecamp/kamal#1783, basecamp/kamal#1784, and basecamp/kamal#1785.
docs/configuration/external-commands.mdpage —.kamal/bin/<name>andkamal-<name>on PATH lookup, precedence, built-in shadowing prevention, hook PATH connectiondocs/hooks/post-configure.mdpage — timing, available env vars, destination rewriting/injection examples,require_destinationinteractiondocs/hooks/overview.md—KAMAL_OUTPUTin env var list, new "Hook output" section (mechanism, special keys, accumulation, precedence), new "Hook PATH" section (.kamal/binprepended to$PATHduring hooks),post-configurein hooks list, fixed--skip_hooks→--skip-hooks_data/docs.yml—post-configurein sidebar navigation,External commandsin sidebar navigationTest plan
/docs/configuration/external-commands//docs/hooks/post-configure/