Skip to content

Add cookbook page for enabling Git 2.54 config-based global hooks#2061

Merged
j178 merged 2 commits into
masterfrom
cookbook
May 9, 2026
Merged

Add cookbook page for enabling Git 2.54 config-based global hooks#2061
j178 merged 2 commits into
masterfrom
cookbook

Conversation

@j178

@j178 j178 commented May 9, 2026

Copy link
Copy Markdown
Owner

Adds a Cookbook docs page with a first recipe for enabling Git 2.54 config-based global hooks with prek hook-impl.

Closes #58

Copilot AI review requested due to automatic review settings May 9, 2026 04:37
@j178 j178 changed the title Add cookbook page Add cookbook page for enabling Git 2.54 config-based global hooks May 9, 2026
@j178 j178 added the documentation Improvements or additions to documentation label May 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Cookbook” documentation page to capture setup recipes beyond the default project-local workflow, and wires it into the published docs navigation and skill doc map.

Changes:

  • Add docs/cookbook.md with an initial recipe for Git 2.54+ config-based hooks invoking prek hook-impl.
  • Link the new page from the docs landing page and MkDocs navigation.
  • Add the Cookbook link to skills/prek/SKILL.md’s shipped documentation map.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
skills/prek/SKILL.md Adds the Cookbook link to the skill’s documentation map.
mkdocs.yml Adds cookbook.md to nav and llmstxt sections for site + shipped doc output.
docs/index.md Links to the new Cookbook page from the “Where to Start” section.
docs/cookbook.md Introduces the new Cookbook page and the first recipe for Git config-based hooks.

Comment thread docs/cookbook.md
Comment thread docs/cookbook.md
Comment thread docs/cookbook.md
Comment thread docs/cookbook.md Outdated
Copilot AI review requested due to automatic review settings May 9, 2026 04:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread docs/cookbook.md
@j178 j178 merged commit ece6887 into master May 9, 2026
22 checks passed
@j178 j178 deleted the cookbook branch May 9, 2026 04:48
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request May 19, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [prek](https://github.com/j178/prek) | minor | `0.3.13` → `0.4.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>j178/prek (prek)</summary>

### [`v0.4.0`](https://github.com/j178/prek/blob/HEAD/CHANGELOG.md#040)

[Compare Source](j178/prek@v0.3.13...v0.4.0)

Released on 2026-05-14.

##### Breaking changes

These are narrow cleanup breaks in behavior that was either temporary or never worked correctly. Most users should not need to change anything.

- Generated hook scripts no longer preserve `-q`, `-v`, or `--no-progress` passed to `prek install`. This only affects users who expected those global flags to be baked into installed hooks. ([#&#8203;1966](j178/prek#1966))
- `language_version` no longer accepts direct executable paths. Use `language_version: system` for a system toolchain, or use a supported version request instead. This path form did not work reliably before, so existing working configs should be unaffected. ([#&#8203;1831](j178/prek#1831))

##### Enhancements

- Expand tilde in `--config`, `--cd`, `--log-file` and `--git-dir` ([#&#8203;2063](j178/prek#2063))
- Prevent auto-update cooldown downgrades ([#&#8203;2055](j178/prek#2055))
- Use managed npm cache for node hooks ([#&#8203;2075](j178/prek#2075))

##### Bug fixes

- Fix npm config env overrides for node hooks ([#&#8203;2074](j178/prek#2074))

##### Documentation

- Add cookbook page for enabling Git 2.54 config-based global hooks ([#&#8203;2061](j178/prek#2061))

##### Contributors

- [@&#8203;j178](https://github.com/j178)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzguMCIsInVwZGF0ZWRJblZlciI6IjQzLjE3OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6bWlub3IiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: global configuration

2 participants