Skip to content

Commit dce4510

Browse files
brabojclaude
andcommitted
fix: use URL-relative paths for recipe-to-recipe cross-references
The remark sibling rewriter turns slug.md into slug/, which resolves to /playbook/current/slug/ instead of /playbook/slug/. Use ../slug/ directly so the rewriter leaves the link untouched and the browser resolves it correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6ec5e60 commit dce4510

8 files changed

Lines changed: 9 additions & 9 deletions

File tree

chapters/recipes/commit-msg-hook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ $ chmod +x .git/hooks/commit-msg
5151

5252
### Sharing and bypassing
5353

54-
Same as other hooks — see the [Hooks](hooks.md) recipe for
54+
Same as other hooks — see the [Hooks](../hooks/) recipe for
5555
`core.hooksPath` and `--no-verify`.

chapters/recipes/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ order: 80
99

1010
### Find which commit introduced a bug
1111

12-
Use [Git Bisect](git-bisect.md) for a full walkthrough of manual and
12+
Use [Git Bisect](../git-bisect/) for a full walkthrough of manual and
1313
automated binary search through commit history.
1414

1515
### See who last changed each line

chapters/recipes/git-bisect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ commit when done.
5454
- Use `git bisect log` to replay or share a bisect session.
5555

5656
For blame, log search, and other debugging tools, see the
57-
[Debugging](debugging.md) recipe.
57+
[Debugging](../debugging/) recipe.

chapters/recipes/hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ order: 83
99

1010
### Create a pre-commit hook
1111

12-
See [Pre-commit Hook](pre-commit-hook.md) for a full walkthrough —
12+
See [Pre-commit Hook](../pre-commit-hook/) for a full walkthrough —
1313
script creation, common checks, and sharing with the team.
1414

1515
### Create a commit-msg hook
1616

17-
See [Commit-msg Hook](commit-msg-hook.md) for a full walkthrough —
17+
See [Commit-msg Hook](../commit-msg-hook/) for a full walkthrough —
1818
message validation, Conventional Commits enforcement, and examples.
1919

2020
### Share hooks with the team

chapters/recipes/pre-commit-hook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $ chmod +x .git/hooks/pre-commit
4646
### Sharing pre-commit hooks
4747

4848
Hooks in `.git/hooks/` are local and not committed. To share them
49-
with the team, see the [Hooks](hooks.md) recipe for the
49+
with the team, see the [Hooks](../hooks/) recipe for the
5050
`core.hooksPath` approach.
5151

5252
### Bypassing

chapters/recipes/remote-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ $ git remote set-url origin git@github.com:<user>/<repo>.git
4646

4747
### Set up SSH authentication
4848

49-
See [SSH Setup](ssh-setup.md) for a full walkthrough — key
49+
See [SSH Setup](../ssh-setup/) for a full walkthrough — key
5050
generation, agent configuration, GitHub registration, and
5151
troubleshooting.

chapters/recipes/remove-submodule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ $ git commit -m "Remove submodule"
4141
- **Nested submodules** — if the submodule itself contains submodules,
4242
you need to deinit recursively or clean up `.git/modules/` manually.
4343

44-
For other submodule operations, see the [Submodules](submodules.md)
44+
For other submodule operations, see the [Submodules](../submodules/)
4545
recipe.

chapters/recipes/submodules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ $ git commit -m "Update submodule"
4343

4444
### Remove a submodule
4545

46-
See [Remove a Submodule](remove-submodule.md) for a full
46+
See [Remove a Submodule](../remove-submodule/) for a full
4747
walkthrough — the three cleanup steps, what each does, and common
4848
gotchas.

0 commit comments

Comments
 (0)