Repository navigation
Conversation
My agent pointed out that bazel-contrib#3133 is not actually a bug put just a user-error. Gazelle resolves the root manifest paths relative to each `BUILD` file, so the directives in bazel-contrib#3133 example need a `../` prefix. This documents the path base and relative manifest lookup. Closes bazel-contrib#3133.
hartikainen
force-pushed
the
hartikainen/gazelle-manifest-subdirectories
branch
from
November 1, 2026 18:27
9f755f5 to
9264473
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The new prose paragraph in gazelle/docs/directives.md needs wrapping at 80 columns to comply with the documented formatting rule.
1 open issue
What changed in this PR
This documentation-only PR clarifies Gazelle’s manifest path configuration, addressing the subdirectory confusion reported in #3133.
Changes:
- Replaces placeholder documentation for
python_manifest_file_name. - Documents the default manifest name and relative path base.
- Adds a
../example for selecting a repository-root manifest from a subdirectory.
| File | Description |
|---|---|
gazelle/docs/directives.md |
Documents manifest selection and relative paths with a subdirectory example. |
Review effort: Balanced
Updated the description for the `python_manifest_file_name` directive to improve clarity and formatting. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
aignas
approved these changes
Nov 2, 2026
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.

My agent pointed out that #3133 is not actually a bug put just a user error. Gazelle resolves the root manifest paths relative to each
BUILDfile, so the directives in #3133 example need a../prefix.This documents the path base and relative manifest lookup.
Closes #3133.