[bazel.build] Problem with /reference/be/python #24014
Labels
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-Rules-Python
Native rules for Python
type: documentation (cleanup)
untriaged
Page link:
https://bazel.build/reference/be/python
Problem description (include actual vs expected text, if applicable):
The "view source" link for the Python rules is going to a non-existent file.
In rules_python, we're cleaning up some cruft left over from the Bazel->rules_python transition, but it turns out that Bazel's docgen is pointing to some of the internal files being moved around and consolidated.
After bazelbuild/rules_python#2285, the
python/private/common/*
files were moved topython/private
, so the docs now link to non-existent files.However, when I grepped around for where the docgen appeared to be doing this, i found:
This looks problematic for 3 reasons:
python/private/common
directory*_bazel.bzl
files into the other files (e.g.py_binary_rule_bazel.bzl
gets merged intopy_binary_rule.bzl
)I'm not sure how the docgen works, so I'm not sure how closely coupled that "VIEW SOURCE" link is to the underlying docgen.
A few ideas:
python/py_binary.bzl
instead of the location underpython/private
Where do you see this issue? (include link to specific section of the page, if applicable)
Page: https://bazel.build/reference/be/python#py_binary
The "VIEW RULE SOURCE" button goes to a non-existent file.
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: