docs bot: format generated docs PRs before committing - #5226
Merged
Conversation
The workflow installs the docs repo's pinned toolchain and runs its Prettier over the pages a run touched, so generated docs PRs land already formatted. Scoping to touched pages keeps the PR diff limited to the changes under review, and Node comes from the docs repo's .nvmrc rather than the runner image.
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
kompfner
requested review from
aconchillo,
filipi87,
markbackman and
mattieruth
August 5, 2026 16:48
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.

The docs repo had drifted out of Prettier style and now enforces it via a pre-commit hook (pipecat-ai/docs#1060). This bot was the largest single source of that drift, since it commits generated MDX with no formatting step.
This is the pipecat-docs-bot side of the Prettier enforcement change: it formats the pages a run touched before committing, using the docs repo's pinned Prettier and Node so its output matches what contributors produce.
Depends on pipecat-ai/docs#1060, which adds the
package-lock.jsonand.nvmrcthis reads. Merge that one first.