docs: doc the imports attribute as a target-relative path by rickeylev · Pull Request #3571 · bazel-contrib/rules_python

@rickeylev

gemini-code-assist[bot]

@rickeylev @gemini-code-assist

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

Merged via the queue into bazel-contrib:main with commit 3a8829b

Feb 7, 2026

4 checks passed

@rickeylev rickeylev deleted the docs.imports.attr.relative branch

February 7, 2026 03:19

jsharpe pushed a commit to jsharpe/rules_python that referenced this pull request

Feb 10, 2026

jsharpe pushed a commit to jsharpe/rules_python that referenced this pull request

Feb 10, 2026

aignas pushed a commit to aignas/rules_python that referenced this pull request

Feb 23, 2026
…rib#3571)

The docs incorrectly refer to the path as a repo-root relative path, but
this is
plainly not the case, as the underlying code does, essentially,
`join(repoRoot, ctx.label, importsAttr)`

Work towards bazel-contrib#3565

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>